summaryrefslogtreecommitdiffstats
path: root/templates/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/deployment.yaml')
-rw-r--r--templates/deployment.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/deployment.yaml b/templates/deployment.yaml
index e04b5fd..a28d833 100644
--- a/templates/deployment.yaml
+++ b/templates/deployment.yaml
@@ -1,4 +1,5 @@
-# Copyright © 2018 Amdocs, Bell Canada, AT&T
+# Copyright (c) 2018 Amdocs, Bell Canada, AT&T
+# Modifications Copyright (c) 2020 Nokia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -39,7 +40,7 @@ spec:
spec:
initContainers:
- command:
- - /root/ready.py
+ - /app/ready.py
args:
- --container-name
- aai-resources
@@ -53,7 +54,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- image: "{{ .Values.global.legacyReadinessRepository }}/{{ .Values.global.legacyReadinessImage }}"
+ image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-readiness
containers: