aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/dep-drools.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/policy/templates/dep-drools.yaml')
-rw-r--r--kubernetes/policy/templates/dep-drools.yaml59
1 files changed, 24 insertions, 35 deletions
diff --git a/kubernetes/policy/templates/dep-drools.yaml b/kubernetes/policy/templates/dep-drools.yaml
index 3e9fa014fb..48ef16e3b2 100644
--- a/kubernetes/policy/templates/dep-drools.yaml
+++ b/kubernetes/policy/templates/dep-drools.yaml
@@ -14,41 +14,30 @@ spec:
labels:
app: drools
name: drools
- annotations:
- pod.beta.kubernetes.io/init-containers: '[
- {
- "args": [
- "--container-name",
- "mariadb",
- "--container-name",
- "nexus",
- "--container-name",
- "pap",
- "--container-name",
- "pdp",
- "--container-name",
- "brmsgw"
- ],
- "command": [
- "/root/ready.py"
- ],
- "env": [
- {
- "name": "NAMESPACE",
- "valueFrom": {
- "fieldRef": {
- "apiVersion": "v1",
- "fieldPath": "metadata.namespace"
- }
- }
- }
- ],
- "image": "{{ .Values.image.readiness }}:{{ .Values.image.readinessVersion }}",
- "imagePullPolicy": "{{ .Values.pullPolicy }}",
- "name": "drools-readiness"
- }
- ]'
spec:
+ initContainers:
+ - command:
+ - /root/ready.py
+ args:
+ - --container-name
+ - mariadb
+ - --container-name
+ - nexus
+ - --container-name
+ - pap
+ - --container-name
+ - pdp
+ - --container-name
+ - brmsgw
+ env:
+ - name: NAMESPACE
+ valueFrom:
+ fieldRef:
+ apiVersion: v1
+ fieldPath: metadata.namespace
+ image: "{{ .Values.image.readiness }}:{{ .Values.image.readinessVersion }}"
+ imagePullPolicy: {{ .Values.pullPolicy }}
+ name: drools-readiness
containers:
- command:
- /bin/bash
@@ -112,4 +101,4 @@ spec:
path: /dockerdata-nfs/{{ .Values.nsPrefix }}/policy/opt/policy/config/drools/
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
-#{{ end }} \ No newline at end of file
+#{{ end }}