activate health endpoints
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tobias Trabelsi 2022-09-09 23:07:01 +02:00
parent 68ba68fb46
commit c33f80b448
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E
3 changed files with 6 additions and 6 deletions

View File

@ -29,5 +29,5 @@ USER bw-operator
RUN set -eux; \
pip install -r requirements.txt
ENTRYPOINT [ "/home/bw-operator/.local/bin/kopf", "run" ]
ENTRYPOINT [ "/home/bw-operator/.local/bin/kopf", "run", "--liveness=http://0.0.0.0:8080/healthz" ]
CMD [ "/home/bw-operator/bitwarden-crd-operator.py" ]

View File

@ -39,15 +39,15 @@ spec:
{{- end }}
ports:
- name: http
containerPort: 80
containerPort: 8080
protocol: TCP
livenessProbe:
httpGet:
path: /
path: /healthz
port: http
readinessProbe:
httpGet:
path: /
path: /healthz
port: http
resources:
{{- toYaml .Values.resources | nindent 12 }}

View File

@ -6,9 +6,9 @@ replicaCount: 1
image:
repository: lerentis/bitwarden-crd-operator
pullPolicy: Always
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
tag: "68ba68fb46c48c61e484de7ea5c19d1f14dec915"
imagePullSecrets: []
nameOverride: ""