From eb08ce3b9b6530de65586f09e9f97fe6b881099c Mon Sep 17 00:00:00 2001 From: Maksym V Date: Tue, 25 Jan 2022 00:58:06 +0200 Subject: [PATCH] Fix the missing protocol for the first port in manager config Signed-off-by: Maksym V Signed-off-by: Maksym Voitko --- config/manager/deployment.yaml | 102 +++++++++++++++++---------------- 1 file changed, 53 insertions(+), 49 deletions(-) diff --git a/config/manager/deployment.yaml b/config/manager/deployment.yaml index 2cbbf0009..78204c509 100644 --- a/config/manager/deployment.yaml +++ b/config/manager/deployment.yaml @@ -1,3 +1,4 @@ +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -19,55 +20,58 @@ spec: spec: terminationGracePeriodSeconds: 10 containers: - - name: manager - image: fluxcd/notification-controller - imagePullPolicy: IfNotPresent - securityContext: - allowPrivilegeEscalation: false - readOnlyRootFilesystem: true - runAsNonRoot: true - capabilities: - drop: [ "ALL" ] - seccompProfile: - type: RuntimeDefault - ports: - - containerPort: 9090 - name: http - - containerPort: 9292 - name: http-webhook - - containerPort: 8080 - name: http-prom - - containerPort: 9440 - name: healthz - protocol: TCP - env: - - name: RUNTIME_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - readinessProbe: - httpGet: - path: /readyz - port: healthz - livenessProbe: - httpGet: - path: /healthz - port: healthz - args: - - --watch-all-namespaces - - --log-level=info - - --log-encoding=json - - --enable-leader-election - resources: - limits: - cpu: 1000m - memory: 1Gi - requests: - cpu: 100m - memory: 64Mi - volumeMounts: - - name: temp - mountPath: /tmp + - name: manager + image: fluxcd/notification-controller + imagePullPolicy: IfNotPresent + securityContext: + allowPrivilegeEscalation: false + readOnlyRootFilesystem: true + runAsNonRoot: true + capabilities: + drop: ["ALL"] + seccompProfile: + type: RuntimeDefault + ports: + - containerPort: 9090 + name: http + protocol: TCP + - containerPort: 9292 + name: http-webhook + protocol: TCP + - containerPort: 8080 + name: http-prom + protocol: TCP + - containerPort: 9440 + name: healthz + protocol: TCP + env: + - name: RUNTIME_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + readinessProbe: + httpGet: + path: /readyz + port: healthz + livenessProbe: + httpGet: + path: /healthz + port: healthz + args: + - --watch-all-namespaces + - --log-level=info + - --log-encoding=json + - --enable-leader-election + resources: + limits: + cpu: 1000m + memory: 1Gi + requests: + cpu: 100m + memory: 64Mi + volumeMounts: + - name: temp + mountPath: /tmp volumes: - name: temp emptyDir: {}