diff --git a/charts/lm-container/Chart.yaml b/charts/lm-container/Chart.yaml index 3c5fc3a..560357a 100644 --- a/charts/lm-container/Chart.yaml +++ b/charts/lm-container/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: lm-container description: A Helm chart for Logicmonitor's Kubernetes monitoring solutions type: application -version: 3.1.0 +version: 3.2.0 maintainers: - name: LogicMonitor email: argus@logicmonitor.com @@ -11,7 +11,7 @@ kubeVersion: ">= 1.16.0-0" dependencies: - name: argus # need to explicitly quote to make it string, else json schema fails - version: "5.1.0" + version: "5.2.0" repository: https://logicmonitor.github.io/helm-charts # uncomment to test umbrella chart in while developing # repository: file://../argus @@ -22,7 +22,7 @@ dependencies: - monitoring - name: collectorset-controller # need to explicitly quote to make it string, else json schema fails - version: "4.1.0" + version: "4.2.0" repository: https://logicmonitor.github.io/helm-charts # uncomment to test umbrella chart in while developing # repository: file://../collectorset-controller @@ -39,4 +39,4 @@ dependencies: repository: https://logicmonitor.github.io/helm-charts # uncomment to test umbrella chart in while developing # repository: file://../lmutil - version: 0.1.1 + version: 0.1.6 diff --git a/charts/lm-container/templates/ksm-openshift-scc.yaml b/charts/lm-container/templates/ksm-openshift-scc.yaml new file mode 100644 index 0000000..4bdc77a --- /dev/null +++ b/charts/lm-container/templates/ksm-openshift-scc.yaml @@ -0,0 +1,8 @@ +{{- /* +hard coded "kube-state-metrics" service account name here, +don't have intelligent solution at the moment to dynamically change according to child chart, +importvalues dependency doesn't work +*/ -}} +{{- $saUsers := list (printf "%s:%s" (include "lmutil.release.namespace" .) (printf "%s-kube-state-metrics" .Release.Name)) -}} +{{- $params := list . "lm-nonroot-v2-kube-state-metrics" $saUsers -}} +{{- include "lmutil.openshift-scc-nonroot-v2" $params -}} \ No newline at end of file