Skip to content

Commit

Permalink
Merge pull request #19 from gvicentin/sharedres-annotations
Browse files Browse the repository at this point in the history
Provide annotations for BuildKit and Prometheus Pool charts
  • Loading branch information
gvicentin authored Mar 21, 2024
2 parents 869de3a + 4121509 commit 33bce9f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/buildkit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.1
version: 0.2.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 4 additions & 0 deletions charts/buildkit/templates/statefulset.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
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 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/buildkit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name: ""

annotations: {}

podAnnotations: {}

podSecurityContext: {}
Expand Down
2 changes: 1 addition & 1 deletion charts/tsuru-prometheus-pool/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.4
version: 0.2.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
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 33bce9f

Please sign in to comment.