allow configuration of secrets for alertmanager (#2206)

This commit is contained in:
Roeland van Batenburg
2023-09-06 15:06:29 +02:00
committed by GitHub
parent c31bda4a47
commit 76ebaeeafe
2 changed files with 3 additions and 0 deletions

View File

@@ -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,