Skip to content
Snippets Groups Projects
Unverified Commit 76ebaeea authored by Roeland van Batenburg's avatar Roeland van Batenburg Committed by GitHub
Browse files

allow configuration of secrets for alertmanager (#2206)

parent c31bda4a
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,7 @@ local defaults = {
],
},
replicas: 3,
secrets: [],
mixin:: {
ruleLabels: {},
_config: {
......@@ -225,6 +226,7 @@ function(params) {
},
resources: am._config.resources,
nodeSelector: { 'kubernetes.io/os': 'linux' },
secrets: am._config.secrets,
serviceAccountName: am.serviceAccount.metadata.name,
securityContext: {
runAsUser: 1000,
......
......@@ -28,6 +28,7 @@ spec:
requests:
cpu: 4m
memory: 100Mi
secrets: []
securityContext:
fsGroup: 2000
runAsNonRoot: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment