Skip to content

Commit

Permalink
Adding missing annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Vicentin committed Mar 20, 2024
1 parent ecb2629 commit 7411820
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
7 changes: 4 additions & 3 deletions charts/buildkit/templates/statefulset.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
{{- if .Values.annotations }}
annotations:
{{- toYaml .Values.annotations | nindent 4 }}
{{- end }}
name: {{ include "buildkit.fullname" . }}
labels:
{{- include "buildkit.labels" . | nindent 4 }}
{{- with .Values.annotations }}
annotations: {{- toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
serviceName: {{ include "buildkit.fullname" . }}
Expand Down
4 changes: 4 additions & 0 deletions charts/tsuru-prometheus-pool/templates/prometheus.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
{{- if .Values.annotations }}
annotations:
{{- toYaml .Values.annotations | nindent 4 }}
{{- end }}
name: {{ include "..fullname" . }}
labels:
{{- include "..labels" . | nindent 4 }}
Expand Down
3 changes: 3 additions & 0 deletions charts/tsuru-prometheus-pool/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ serviceAccount:
annotations: {}
name: "tsuru-prometheus-pool"

annotations: {}

podAnnotations: {}

volumeClaimTemplate:
spec:
accessModes:
Expand Down

0 comments on commit 7411820

Please sign in to comment.