Add credentials for liveliness and readiness probe 28/83328/1
authorMunir Ahmad <munir.ahmad@bell.ca>
Tue, 26 Mar 2019 12:17:11 +0000 (08:17 -0400)
committerMunir Ahmad <munir.ahmad@bell.ca>
Tue, 26 Mar 2019 12:19:36 +0000 (08:19 -0400)
Issue-ID: OOM-1743

Change-Id: Ic0051ca1a410a22f75043268cd5722a4e16dfed7
Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
kubernetes/cds/charts/blueprints-processor/templates/deployment.yaml

index 94f2fd9..876f249 100755 (executable)
@@ -64,6 +64,9 @@ spec:
             httpGet:
               path: /api/v1/execution-service/ping
               port: {{ .Values.service.http.internalPort }}
+              httpHeaders:
+              - name: Authorization
+                value: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
             initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
             periodSeconds: {{ .Values.liveness.periodSeconds }}
           {{ end }}
@@ -71,6 +74,9 @@ spec:
             httpGet:
               path: /api/v1/execution-service/ping
               port: {{ .Values.service.http.internalPort }}
+              httpHeaders:
+              - name: Authorization
+                value: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
             initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
             periodSeconds: {{ .Values.liveness.periodSeconds }}
           volumeMounts: