X-Git-Url: https://gerrit.onap.org/r/gitweb?p=oom.git;a=blobdiff_plain;f=kubernetes%2Fpolicy%2Fcomponents%2Fpolicy-clamp-runtime-acm%2Ftemplates%2Fdeployment.yaml;fp=kubernetes%2Fpolicy%2Fcomponents%2Fpolicy-clamp-cl-runtime%2Ftemplates%2Fdeployment.yaml;h=e302704201e59cec4ce4123c16e1697842b82981;hp=92e5c9e6c8c8420e6928872bb2a3cc05ed51a7fd;hb=9c79e269cbd63b53281c343b34749b6f07b4a610;hpb=326ab17ae6371cf288375ef88222d278696d73d3 diff --git a/kubernetes/policy/components/policy-clamp-cl-runtime/templates/deployment.yaml b/kubernetes/policy/components/policy-clamp-runtime-acm/templates/deployment.yaml similarity index 91% rename from kubernetes/policy/components/policy-clamp-cl-runtime/templates/deployment.yaml rename to kubernetes/policy/components/policy-clamp-runtime-acm/templates/deployment.yaml index 92e5c9e6c8..e302704201 100644 --- a/kubernetes/policy/components/policy-clamp-cl-runtime/templates/deployment.yaml +++ b/kubernetes/policy/components/policy-clamp-runtime-acm/templates/deployment.yaml @@ -1,6 +1,6 @@ {{/* # ============LICENSE_START======================================================= -# Copyright (C) 2021 Nordix Foundation. All rights reserved. +# Copyright (C) 2021-2022 Nordix Foundation. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -58,9 +58,9 @@ spec: {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "runtime-secret" "key" "password") | indent 10 }} volumeMounts: - mountPath: /config-input - name: cl-runtime-config + name: ac-runtime-config - mountPath: /config - name: cl-runtime-config-processed + name: ac-runtime-config-processed image: {{ include "repositoryGenerator.image.envsubst" . }} imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} name: {{ include "common.name" . }}-update-config @@ -72,10 +72,10 @@ spec: {{- if .Values.global.aafEnabled }} command: ["sh","-c"] args: ["source {{ .Values.certInitializer.credsPath }}/.ci;\ - /opt/app/policy/clamp/bin/controlloop-runtime.sh /opt/app/policy/clamp/etc/mounted/clRuntimeParameters.yaml"] + /opt/app/policy/clamp/bin/acm-runtime.sh /opt/app/policy/clamp/etc/mounted/acRuntimeParameters.yaml"] {{- else }} - command: ["/opt/app/policy/clamp/bin/controlloop-runtime.sh"] - args: ["/opt/app/policy/clamp/etc/mounted/clRuntimeParameters.yaml"] + command: ["/opt/app/policy/clamp/bin/acm-runtime.sh"] + args: ["/opt/app/policy/clamp/etc/mounted/acRuntimeParameters.yaml"] env: - name: KEYSTORE_PASSWD {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "keystore-password" "key" "password") | indent 12 }} @@ -103,7 +103,7 @@ spec: name: localtime readOnly: true - mountPath: /opt/app/policy/clamp/etc/mounted - name: cl-runtime-config-processed + name: ac-runtime-config-processed resources: {{ include "common.resources" . }} {{- if .Values.nodeSelector }} @@ -120,11 +120,11 @@ spec: - name: localtime hostPath: path: /etc/localtime - - name: cl-runtime-config + - name: ac-runtime-config configMap: name: {{ include "common.fullname" . }}-configmap defaultMode: 0755 - - name: cl-runtime-config-processed + - name: ac-runtime-config-processed emptyDir: medium: Memory imagePullSecrets: