fix(infra-monitoring): bootstrap
This commit is contained in:
parent
030caf43aa
commit
8906c4e57f
2 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
{{- if (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1alpha1/AlertmanagerConfig") }}
|
||||
---
|
||||
apiVersion: "monitoring.coreos.com/v1alpha1"
|
||||
kind: "AlertmanagerConfig"
|
||||
|
@ -116,3 +117,4 @@ spec:
|
|||
{{- end }}
|
||||
{{- end }}{{/* end-with receiver */}}
|
||||
{{- end }}{{/* end-with routes */}}
|
||||
{{- end }}
|
||||
|
|
|
@ -7,6 +7,7 @@ metadata:
|
|||
data:
|
||||
{{- if and
|
||||
(.Capabilities.APIVersions.Has "monitoring.coreos.com/v1/ServiceMonitor")
|
||||
(.Capabilities.APIVersions.Has "monitoring.coreos.com/v1alpha1/AlertmanagerConfig")
|
||||
}}
|
||||
init: "-1"
|
||||
{{- else }}
|
||||
|
|
Loading…
Add table
Reference in a new issue