diff --git a/charms/argo-controller/src/charm.py b/charms/argo-controller/src/charm.py index 21e53e7..5b7dc5e 100755 --- a/charms/argo-controller/src/charm.py +++ b/charms/argo-controller/src/charm.py @@ -60,7 +60,7 @@ def __init__(self, *args): # patch service ports metrics_port = ServicePort(METRICS_PORT, name="metrics-port") - liveness_probe_port = ServicePort(LIVENESS_PROBE_PORT, name="liveness-probe") + liveness_probe_port = ServicePort(LIVENESS_PROBE_PORT) self.service_patcher = KubernetesServicePatch( self, [metrics_port, liveness_probe_port], diff --git a/charms/argo-controller/src/components/pebble_component.py b/charms/argo-controller/src/components/pebble_component.py index d244c02..26dc858 100644 --- a/charms/argo-controller/src/components/pebble_component.py +++ b/charms/argo-controller/src/components/pebble_component.py @@ -59,7 +59,7 @@ def get_layer(self) -> Layer: LIVENESS_PROBE_NAME: { "override": "replace", "period": "30s", - "timeout": "30s", + "timeout": "20s", "threshold": 3, "http": { "url": f"http://localhost:{LIVENESS_PROBE_PORT}{LIVENESS_PROBE_PATH}"