update probes to work with localhost (ie, not be tcp probes l3l)

This commit is contained in:
James Andariese 2023-07-12 11:45:01 -05:00
parent 151e770ab3
commit eb3389c7e7

View File

@ -140,25 +140,21 @@ external-secrets:
protocol: TCP protocol: TCP
livenessProbe: livenessProbe:
exec: exec:
command: command: ["wget", "-q", "http://127.0.0.1:8087/sync", "--post-data=''"]
- wget
- -q
- http://127.0.0.1:8087/sync
- --post-data=''
initialDelaySeconds: 20 initialDelaySeconds: 20
failureThreshold: 3 failureThreshold: 3
timeoutSeconds: 1 timeoutSeconds: 1
periodSeconds: 120 periodSeconds: 120
readinessProbe: readinessProbe:
tcpSocket: exec:
port: 8087 command: ["wget", "-q", "http://127.0.0.1:8087/status"]
initialDelaySeconds: 20 initialDelaySeconds: 20
failureThreshold: 3 failureThreshold: 3
timeoutSeconds: 1 timeoutSeconds: 1
periodSeconds: 10 periodSeconds: 10
startupProbe: startupProbe:
tcpSocket: exec:
port: 8087 command: ["wget", "-q", "http://127.0.0.1:8087/status"]
initialDelaySeconds: 10 initialDelaySeconds: 10
failureThreshold: 30 failureThreshold: 30
timeoutSeconds: 1 timeoutSeconds: 1