Skip to content

Commit

Permalink
fix(base-cluster/backup): fix formatting (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrau authored Aug 1, 2024
1 parent 23144a3 commit 8da56f2
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 10 deletions.
Empty file.
Empty file.
Empty file.
18 changes: 8 additions & 10 deletions charts/base-cluster/templates/backup/velero.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,16 @@ spec:
metrics:
serviceMonitor:
additionalLabels: {{- toYaml .Values.monitoring.labels | nindent 10 }}
{{- if .Values.monitoring.prometheus.enabled }}
enabled: true
{{- end }}
prometheusRule:
enabled: true
additionalLabels: {{- .Values.monitoring.labels | toYaml | nindent 10 }}
additionalLabels: {{- toYaml .Values.monitoring.labels | nindent 10 }}
spec:
- alert: VeleroBackupFailures
annotations:
message: Velero backup {{ "{{ $labels.schedule }}" }} failed.
expr: velero_backup_last_status{schedule!=""}!=1
for: 15m
labels:
severity: warning
- alert: VeleroBackupFailures
annotations:
message: Velero backup {{ `{{ $labels.schedule }}` }} failed.
expr: velero_backup_last_status{schedule!=""} != 1
for: 15m
labels:
severity: warning
{{- end }}
17 changes: 17 additions & 0 deletions charts/crossplane-anynines/templates/deploymentRuntimeConfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: pkg.crossplane.io/v1beta1
kind: DeploymentRuntimeConfig
metadata:
name: provider-anynines
labels: {{- include "common.labels.standard" . | nindent 4 }}
spec:
deploymentTemplate:
spec:
selector: {}
template:
spec:
containers:
- name: package-runtime
readinessProbe:
httpGet:
path: /healthz
port: 8081

0 comments on commit 8da56f2

Please sign in to comment.