Remove postrenderer env variables from LCM configmap and set them in Dockerfile 99/15699/1 master
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 27 Jan 2026 15:55:56 +0000 (16:55 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 27 Jan 2026 15:55:56 +0000 (16:55 +0100)
Change-Id: I6f04a46cae9371983a0d8884924b6a460cc4ad21
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
docker/LCM/Dockerfile
installers/helm/osm/templates/lcm/lcm-configmap.yaml
installers/helm/osm/values.yaml

index e361eaa..38c42c4 100644 (file)
@@ -163,9 +163,9 @@ ENV OSMLCM_VCA_KUBECTLPATH /usr/bin/kubectl
 ENV OSMLCM_VCA_JUJUPATH    /usr/local/bin/juju
 
 # post-renderers
-ENV OSMLCM_MAINPOSTRENDERERPATH    /app/osm_lcm/n2vc/post-renderer-scripts/mainPostRenderer/mainPostRenderer
-ENV OSMLCM_PODLABELSPOSTRENDERERPATH    /app/osm_lcm/n2vc/post-renderer-scripts/podLabels/podLabels
-ENV OSMLCM_NODESELECTORPOSTRENDERERPATH    /app/osm_lcm/n2vc/post-renderer-scripts/nodeSelector/nodeSelector
+ENV OSMLCM_MAINPOSTRENDERERPATH    /usr/lib/python3/dist-packages/osm_lcm/n2vc/post-renderer-scripts/mainPostRenderer/mainPostRenderer
+ENV OSMLCM_PODLABELSPOSTRENDERERPATH    /usr/lib/python3/dist-packages/osm_lcm/n2vc/post-renderer-scripts/podLabels/podLabels
+ENV OSMLCM_NODESELECTORPOSTRENDERERPATH    /usr/lib/python3/dist-packages/osm_lcm/n2vc/post-renderer-scripts/nodeSelector/nodeSelector
 
 # helm
 ENV OSMLCM_VCA_STABLEREPOURL https://charts.helm.sh/stable
index 1102bf5..7210aa9 100644 (file)
@@ -28,9 +28,6 @@ data:
   OSMLCM_STORAGE_PATH: "/app/storage"
   OSMLCM_STORAGE_COLLECTION: "files"
   OSMLCM_GLOBAL_LOGLEVEL: {{ .Values.lcm.logLevel | default .Values.global.logLevel | default "INFO" }}
-  OSMLCM_MAINPOSTRENDERERPATH: "{{ .Values.lcm.mainPostRenderer.path }}{{ .Values.lcm.mainPostRenderer.scriptName }}"
-  OSMLCM_PODLABELSPOSTRENDERERPATH: "{{ .Values.lcm.podLabelsPostRenderer.path }}{{ .Values.lcm.podLabelsPostRenderer.scriptName }}"
-  OSMLCM_NODESELECTORPOSTRENDERERPATH: "{{ .Values.lcm.nodeSelectorPostRenderer.path }}{{ .Values.lcm.nodeSelectorPostRenderer.scriptName }}"
 {{- if .Values.global.behindHttpProxy -}}
 {{- with .Values.global.httpProxy }}
   {{- . | toYaml | nindent 2 }}
index b579424..bc8ddfd 100644 (file)
@@ -326,15 +326,6 @@ lcm:
   # replicaCount: 1
   useOsmSecret: true
   # secretName: "lcm-secret"
-  mainPostRenderer:
-    scriptName: mainPostRenderer
-    path: /usr/lib/python3/dist-packages/osm_lcm/n2vc/post-renderer-scripts/mainPostRenderer/
-  podLabelsPostRenderer:
-    scriptName: podLabels
-    path: /usr/lib/python3/dist-packages/osm_lcm/n2vc/post-renderer-scripts/podLabels/
-  nodeSelectorPostRenderer:
-    scriptName: nodeSelector
-    path: /usr/lib/python3/dist-packages/osm_lcm/n2vc/post-renderer-scripts/nodeSelector/
   config:
     OSMLCM_VCA_CLOUD: "lxd-cloud"
     OSMLCM_VCA_K8S_CLOUD: "k8scloud"