Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add option for adding annotations #482

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sapbtp-operator-charts/templates/configmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ metadata:
namespace: {{.Release.Namespace}}
labels:
"services.cloud.sap.com/managed-by-sap-btp-operator": "true"
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
data:
{{- if .Values.cluster.id }}
CLUSTER_ID: {{ .Values.cluster.id }}
Expand Down
4 changes: 4 additions & 0 deletions sapbtp-operator-charts/templates/secret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
"services.cloud.sap.com/managed-by-sap-btp-operator": "true"
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
type: Opaque
data:
{{- if .Values.manager.secret.b64encoded }}
Expand Down
2 changes: 2 additions & 0 deletions sapbtp-operator-charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ manager:
enabled: false
kubernetesMatchLabels:
enabled: false
# Option for adding annotations
# annotations: {}
cluster:
id:
externalImages:
Expand Down
Loading