diff options
author | Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> | 2024-04-10 12:21:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-04-10 12:21:47 +0000 |
commit | bd892a7d0709d0807a009f648eb8fcf283f79ba9 (patch) | |
tree | 85a20b3bd015ace54271c8dbc4b8482b45535702 /kubernetes/policy/components/policy-pap/templates | |
parent | 1eeb37b34517aecb0fdcef2e486188768b5ee513 (diff) | |
parent | bc8a6a4ce7eb26b1720cd281486ce6a67ee40ac4 (diff) |
Merge "[POLICY] Add kafka support in policy charts"
Diffstat (limited to 'kubernetes/policy/components/policy-pap/templates')
-rwxr-xr-x | kubernetes/policy/components/policy-pap/templates/deployment.yaml | 5 | ||||
-rw-r--r-- | kubernetes/policy/components/policy-pap/templates/kafkauser.yaml | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/kubernetes/policy/components/policy-pap/templates/deployment.yaml b/kubernetes/policy/components/policy-pap/templates/deployment.yaml index 67a2270fb8..cfcbf6384a 100755 --- a/kubernetes/policy/components/policy-pap/templates/deployment.yaml +++ b/kubernetes/policy/components/policy-pap/templates/deployment.yaml @@ -29,9 +29,6 @@ spec: metadata: {{- include "common.templateMetadata" . | nindent 6 }} spec: initContainers: -{{- if not .Values.global.useStrimziKafkaPf }} -{{ include "common.readinessCheck.waitFor" . | nindent 6 }} -{{- end }} - command: - /app/ready.py args: @@ -78,13 +75,11 @@ spec: {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "distribution-secret" "key" "login") | indent 10 }} - name: DISTRIBUTION_PASSWORD {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "distribution-secret" "key" "password") | indent 10 }} -{{- if .Values.global.useStrimziKafkaPf }} - name: JAASLOGIN valueFrom: secretKeyRef: name: {{ include "common.name" . }}-ku key: sasl.jaas.config -{{- end }} volumeMounts: - mountPath: /config-input name: papconfig diff --git a/kubernetes/policy/components/policy-pap/templates/kafkauser.yaml b/kubernetes/policy/components/policy-pap/templates/kafkauser.yaml index d2fab9f535..6fc37c3d01 100644 --- a/kubernetes/policy/components/policy-pap/templates/kafkauser.yaml +++ b/kubernetes/policy/components/policy-pap/templates/kafkauser.yaml @@ -13,6 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. */}} -{{ if .Values.global.useStrimziKafkaPf }} {{ include "common.kafkauser" . }} -{{ end }} |