diff --git a/charts/prometheus-memcached-exporter/Chart.yaml b/charts/prometheus-memcached-exporter/Chart.yaml index 1d16fd4e2a12..1aad970fc492 100644 --- a/charts/prometheus-memcached-exporter/Chart.yaml +++ b/charts/prometheus-memcached-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: prometheus-memcached-exporter description: Prometheus exporter for Memcached metrics type: application -version: 0.3.3 +version: 0.3.4 appVersion: "v0.14.4" home: https://github.com/prometheus/memcached_exporter sources: diff --git a/charts/prometheus-memcached-exporter/ci/01-default-values.yaml b/charts/prometheus-memcached-exporter/ci/01-default-values.yaml new file mode 100644 index 000000000000..ba5a5c1e2597 --- /dev/null +++ b/charts/prometheus-memcached-exporter/ci/01-default-values.yaml @@ -0,0 +1 @@ +## Test case: use chart's default values diff --git a/charts/prometheus-memcached-exporter/ci/02-security-context-values.yaml b/charts/prometheus-memcached-exporter/ci/02-security-context-values.yaml new file mode 100644 index 000000000000..212f83416979 --- /dev/null +++ b/charts/prometheus-memcached-exporter/ci/02-security-context-values.yaml @@ -0,0 +1,14 @@ +--- +podSecurityContext: + fsGroup: 2000 + +securityContext: + allowPrivilegeEscalation: false + runAsNonRoot: true + runAsUser: 1000 + runAsGroup: 3000 + capabilities: + drop: + - ALL + seccompProfile: + type: RuntimeDefault diff --git a/charts/prometheus-memcached-exporter/ci/03-resources-values.yaml b/charts/prometheus-memcached-exporter/ci/03-resources-values.yaml new file mode 100644 index 000000000000..d8821775c3bd --- /dev/null +++ b/charts/prometheus-memcached-exporter/ci/03-resources-values.yaml @@ -0,0 +1,8 @@ +--- +resources: + limits: + cpu: 100m + memory: 32Mi + requests: + cpu: 100m + memory: 32Mi diff --git a/charts/prometheus-memcached-exporter/templates/deployment.yaml b/charts/prometheus-memcached-exporter/templates/deployment.yaml index dbe0ee7c1ca0..2a18c10fb0e6 100644 --- a/charts/prometheus-memcached-exporter/templates/deployment.yaml +++ b/charts/prometheus-memcached-exporter/templates/deployment.yaml @@ -41,7 +41,7 @@ spec: {{- end }} {{- with .Values.securityContext }} securityContext: - {{- toYaml .Values.securityContext | nindent 12 }} + {{- toYaml . | nindent 12 }} {{- end }} ports: - name: http-alt