Skip to content

Commit

Permalink
Merge pull request #11 from Commvault/initcontainer
Browse files Browse the repository at this point in the history
add metadata.uid to environment variable
  • Loading branch information
cvltmaheshp authored Jul 10, 2024
2 parents 7ca8212 + 8955b45 commit 4a08b54
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/accessnode/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: accessnode
description: A Helm chart for creating an access node
type: application
version: "1.0.3"
version: "1.0.4"
appVersion: "1"
4 changes: 4 additions & 0 deletions charts/accessnode/templates/_cv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ cv.commonenv creates environment variables that are common to all deployments
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CV_POD_ID
valueFrom:
fieldRef:
fieldPath: metadata.uid
{{- end -}}


Expand Down
2 changes: 1 addition & 1 deletion charts/commandcenter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: commandcenter
description: A Helm chart for creating the command center
type: application
version: "1.0.3"
version: "1.0.4"
appVersion: "1"
4 changes: 4 additions & 0 deletions charts/commandcenter/templates/_cv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ cv.commonenv creates environment variables that are common to all deployments
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CV_POD_ID
valueFrom:
fieldRef:
fieldPath: metadata.uid
{{- end -}}


Expand Down
2 changes: 1 addition & 1 deletion charts/config/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: config
description: A Helm chart for creating the base configuration and secret for all cv components in the namespace
type: application
version: "1.0.3"
version: "1.0.4"
appVersion: "1"
4 changes: 4 additions & 0 deletions charts/config/templates/_cv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ cv.commonenv creates environment variables that are common to all deployments
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CV_POD_ID
valueFrom:
fieldRef:
fieldPath: metadata.uid
{{- end -}}


Expand Down
2 changes: 1 addition & 1 deletion charts/cs/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: commserve
description: A Helm chart for creating the CS component
type: application
version: "1.0.3"
version: "1.0.4"
appVersion: "1"
4 changes: 4 additions & 0 deletions charts/cs/templates/_cv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ cv.commonenv creates environment variables that are common to all deployments
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CV_POD_ID
valueFrom:
fieldRef:
fieldPath: metadata.uid
{{- end -}}


Expand Down
2 changes: 1 addition & 1 deletion charts/mediaagent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: mediaagent
description: A Helm chart for creating a media agent
type: application
version: "1.0.3"
version: "1.0.4"
appVersion: "1"
4 changes: 4 additions & 0 deletions charts/mediaagent/templates/_cv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ cv.commonenv creates environment variables that are common to all deployments
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CV_POD_ID
valueFrom:
fieldRef:
fieldPath: metadata.uid
{{- end -}}


Expand Down
2 changes: 1 addition & 1 deletion charts/networkgateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: networkgateway
description: A Helm chart for creating an FS agent which can serve as a network gateway
type: application
version: "1.0.3"
version: "1.0.4"
appVersion: "1"
4 changes: 4 additions & 0 deletions charts/networkgateway/templates/_cv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ cv.commonenv creates environment variables that are common to all deployments
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CV_POD_ID
valueFrom:
fieldRef:
fieldPath: metadata.uid
{{- end -}}


Expand Down
2 changes: 1 addition & 1 deletion charts/webserver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: webserver
description: A Helm chart for creating the webserver
type: application
version: "1.0.3"
version: "1.0.4"
appVersion: "1"
4 changes: 4 additions & 0 deletions charts/webserver/templates/_cv.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,10 @@ cv.commonenv creates environment variables that are common to all deployments
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: CV_POD_ID
valueFrom:
fieldRef:
fieldPath: metadata.uid
{{- end -}}


Expand Down

0 comments on commit 4a08b54

Please sign in to comment.