summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2023-05-26 17:58:39 +0100
committerAdheli Tavares <adheli.tavares@est.tech>2023-05-29 08:31:21 +0000
commitc1443ac9c36fe81890d1ddaaa208bc27084e58f9 (patch)
tree38ce60bff67fe573cbc7441700a318fca7a592e8
parent82716248acff12c6d2b569b84e5ffec86962cd7d (diff)
Support using local images for k8s CSIT
Issue-ID: POLICY-4541 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Id2b329d1da1528bb87bcb0cce977f7f553617593
-rwxr-xr-xhelm/policy/components/policy-apex-pdp/templates/statefulset.yaml2
-rwxr-xr-xhelm/policy/components/policy-api/templates/deployment.yaml2
-rwxr-xr-xhelm/policy/components/policy-clamp-ac-a1pms-ppnt/templates/deployment.yaml2
-rw-r--r--helm/policy/components/policy-clamp-ac-k8s-ppnt/templates/deployment.yaml2
-rwxr-xr-xhelm/policy/components/policy-clamp-ac-kserve-ppnt/templates/deployment.yaml2
-rw-r--r--helm/policy/components/policy-clamp-ac-pf-ppnt/templates/deployment.yaml2
-rw-r--r--helm/policy/components/policy-clamp-runtime-acm/templates/deployment.yaml2
-rw-r--r--helm/policy/components/policy-drools-pdp/templates/statefulset.yaml2
-rwxr-xr-xhelm/policy/components/policy-pap/templates/deployment.yaml2
-rwxr-xr-xhelm/policy/components/policy-xacml-pdp/templates/deployment.yaml2
-rwxr-xr-xhelm/policy/values.yaml2
11 files changed, 11 insertions, 11 deletions
diff --git a/helm/policy/components/policy-apex-pdp/templates/statefulset.yaml b/helm/policy/components/policy-apex-pdp/templates/statefulset.yaml
index f8fc4b08..1d939c5f 100755
--- a/helm/policy/components/policy-apex-pdp/templates/statefulset.yaml
+++ b/helm/policy/components/policy-apex-pdp/templates/statefulset.yaml
@@ -75,7 +75,7 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.global.repository }}/{{ .Values.global.image.apex }}
- imagePullPolicy: {{ .Values.pullPolicy }}
+ imagePullPolicy: {{ .Values.global.pullPolicy }}
command: ["sh","-c"]
args: ["/opt/app/policy/apex-pdp/bin/apexOnapPf.sh -c /home/apexuser/config/OnapPfConfig.json"]
ports:
diff --git a/helm/policy/components/policy-api/templates/deployment.yaml b/helm/policy/components/policy-api/templates/deployment.yaml
index d89cd5a8..e6c9223d 100755
--- a/helm/policy/components/policy-api/templates/deployment.yaml
+++ b/helm/policy/components/policy-api/templates/deployment.yaml
@@ -89,7 +89,7 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.global.repository }}/{{ .Values.global.image.api }}
- imagePullPolicy: {{ .Values.pullPolicy }}
+ imagePullPolicy: {{ .Values.global.pullPolicy }}
command: ["/opt/app/policy/api/bin/policy-api.sh"]
args: ["/opt/app/policy/api/etc/mounted/apiParameters.yaml"]
ports:
diff --git a/helm/policy/components/policy-clamp-ac-a1pms-ppnt/templates/deployment.yaml b/helm/policy/components/policy-clamp-ac-a1pms-ppnt/templates/deployment.yaml
index 071339b0..61b32118 100755
--- a/helm/policy/components/policy-clamp-ac-a1pms-ppnt/templates/deployment.yaml
+++ b/helm/policy/components/policy-clamp-ac-a1pms-ppnt/templates/deployment.yaml
@@ -82,7 +82,7 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.global.repository }}/{{ .Values.global.image.a1pmsparticipant }}
- imagePullPolicy: {{ .Values.pullPolicy }}
+ imagePullPolicy: {{ .Values.global.pullPolicy }}
command: ["/opt/app/policy/clamp/bin/a1pms-participant.sh"]
args: ["/opt/app/policy/clamp/etc/mounted/A1pmsParticipantParameters.yaml"]
ports:
diff --git a/helm/policy/components/policy-clamp-ac-k8s-ppnt/templates/deployment.yaml b/helm/policy/components/policy-clamp-ac-k8s-ppnt/templates/deployment.yaml
index 2916da44..c934722a 100644
--- a/helm/policy/components/policy-clamp-ac-k8s-ppnt/templates/deployment.yaml
+++ b/helm/policy/components/policy-clamp-ac-k8s-ppnt/templates/deployment.yaml
@@ -82,7 +82,7 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.global.repository }}/{{ .Values.global.image.k8sparticipant }}
- imagePullPolicy: {{ .Values.pullPolicy }}
+ imagePullPolicy: {{ .Values.global.pullPolicy }}
command: ["/opt/app/policy/clamp/bin/kubernetes-participant.sh"]
args: ["/opt/app/policy/clamp/etc/mounted/KubernetesParticipantParameters.yaml"]
ports:
diff --git a/helm/policy/components/policy-clamp-ac-kserve-ppnt/templates/deployment.yaml b/helm/policy/components/policy-clamp-ac-kserve-ppnt/templates/deployment.yaml
index f9e17cfd..969ac923 100755
--- a/helm/policy/components/policy-clamp-ac-kserve-ppnt/templates/deployment.yaml
+++ b/helm/policy/components/policy-clamp-ac-kserve-ppnt/templates/deployment.yaml
@@ -82,7 +82,7 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.global.repository }}/{{ .Values.global.image.kserveparticipant }}
- imagePullPolicy: {{ .Values.pullPolicy }}
+ imagePullPolicy: {{ .Values.global.pullPolicy }}
command: ["/opt/app/policy/clamp/bin/kserve-participant.sh"]
args: ["/opt/app/policy/clamp/etc/mounted/KserveParticipantParameters.yaml"]
ports:
diff --git a/helm/policy/components/policy-clamp-ac-pf-ppnt/templates/deployment.yaml b/helm/policy/components/policy-clamp-ac-pf-ppnt/templates/deployment.yaml
index a321c5bd..2717f986 100644
--- a/helm/policy/components/policy-clamp-ac-pf-ppnt/templates/deployment.yaml
+++ b/helm/policy/components/policy-clamp-ac-pf-ppnt/templates/deployment.yaml
@@ -98,7 +98,7 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.global.repository }}/{{ .Values.global.image.pfparticipant }}
- imagePullPolicy: {{ .Values.pullPolicy }}
+ imagePullPolicy: {{ .Values.global.pullPolicy }}
command: ["/opt/app/policy/clamp/bin/policy-participant.sh"]
args: ["/opt/app/policy/clamp/etc/mounted/PolicyParticipantParameters.yaml"]
ports:
diff --git a/helm/policy/components/policy-clamp-runtime-acm/templates/deployment.yaml b/helm/policy/components/policy-clamp-runtime-acm/templates/deployment.yaml
index 2cd63b37..bafe0196 100644
--- a/helm/policy/components/policy-clamp-runtime-acm/templates/deployment.yaml
+++ b/helm/policy/components/policy-clamp-runtime-acm/templates/deployment.yaml
@@ -101,7 +101,7 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.global.repository }}/{{ .Values.global.image.runtimeacm }}
- imagePullPolicy: {{ .Values.pullPolicy }}
+ imagePullPolicy: {{ .Values.global.pullPolicy }}
command: ["/opt/app/policy/clamp/bin/acm-runtime.sh"]
args: ["/opt/app/policy/clamp/etc/mounted/acRuntimeParameters.yaml"]
ports:
diff --git a/helm/policy/components/policy-drools-pdp/templates/statefulset.yaml b/helm/policy/components/policy-drools-pdp/templates/statefulset.yaml
index d68f5aa6..2774c67f 100644
--- a/helm/policy/components/policy-drools-pdp/templates/statefulset.yaml
+++ b/helm/policy/components/policy-drools-pdp/templates/statefulset.yaml
@@ -59,7 +59,7 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.global.repository }}/{{ .Values.global.image.pdpdcl }}
- imagePullPolicy: {{ .Values.pullPolicy }}
+ imagePullPolicy: {{ .Values.global.pullPolicy }}
command: ["sh","-c"]
args: ["/opt/app/policy/bin/pdpd-cl-entrypoint.sh boot"]
ports:
diff --git a/helm/policy/components/policy-pap/templates/deployment.yaml b/helm/policy/components/policy-pap/templates/deployment.yaml
index 09858de1..91158a52 100755
--- a/helm/policy/components/policy-pap/templates/deployment.yaml
+++ b/helm/policy/components/policy-pap/templates/deployment.yaml
@@ -122,7 +122,7 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.global.repository }}/{{ .Values.global.image.pap }}
- imagePullPolicy: {{ .Values.pullPolicy }}
+ imagePullPolicy: {{ .Values.global.pullPolicy }}
command: ["/opt/app/policy/pap/bin/policy-pap.sh"]
args: ["/opt/app/policy/pap/etc/mounted/papParameters.yaml"]
ports:
diff --git a/helm/policy/components/policy-xacml-pdp/templates/deployment.yaml b/helm/policy/components/policy-xacml-pdp/templates/deployment.yaml
index bad2a1f9..eb478740 100755
--- a/helm/policy/components/policy-xacml-pdp/templates/deployment.yaml
+++ b/helm/policy/components/policy-xacml-pdp/templates/deployment.yaml
@@ -101,7 +101,7 @@ spec:
containers:
- name: {{ .Chart.Name }}
image: {{ .Values.global.repository }}/{{ .Values.global.image.xacml }}
- imagePullPolicy: {{ .Values.pullPolicy }}
+ imagePullPolicy: {{ .Values.global.pullPolicy }}
command: ["/opt/app/policy/pdpx/bin/policy-pdpx.sh"]
args: ["/opt/app/policy/pdpx/etc/mounted/config.json"]
ports:
diff --git a/helm/policy/values.yaml b/helm/policy/values.yaml
index 547344a3..5ee91496 100755
--- a/helm/policy/values.yaml
+++ b/helm/policy/values.yaml
@@ -31,7 +31,7 @@ global:
policyKafkaUser: policy-kafka-user
repository: nexus3.onap.org:10001
- pullPolicy: Always
+ pullPolicy: IfNotPresent
dockerRepository: docker.io
image: