Skip to content

Commit

Permalink
feat(base-cluster/nginx): add toggle for snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinWolff committed Oct 6, 2023
1 parent c5d822a commit a5a2b82
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/base-cluster/templates/ingress/nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ spec:
{{- end }}
values:
controller:
allowSnippetAnnotations: {{ .Values.ingress.snippets }}
priorityClassName: system-cluster-critical
watchIngressWithoutClass: true
metrics:
Expand Down
6 changes: 6 additions & 0 deletions charts/base-cluster/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,12 @@
"boolean"
]
},
"snippets": {
"type": [
"boolean"
],
"description": "Please don't do it if not absolutely necessary."
},
"IP": {
"type": [
"string",
Expand Down
1 change: 1 addition & 0 deletions charts/base-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ flux:

ingress:
enabled: true
snippets: false
replicas: 2
resources:
requests:
Expand Down

0 comments on commit a5a2b82

Please sign in to comment.