activate health endpoints
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
68ba68fb46
commit
c33f80b448
@ -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" ]
|
||||
|
@ -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 }}
|
||||
|
@ -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: ""
|
||||
|
Loading…
Reference in New Issue
Block a user