feat(ignoreDifferences)

drone
nold 2 years ago
parent 0d3e443e9d
commit a5d93b68a3
  1. 14
      charts/heqet/templates/heqet-apps.yaml
  2. 20
      charts/heqet/values.yaml

@ -40,16 +40,18 @@ spec:
{{- end }}
{{- end -}}
{{- if or $.Values.ingress.enabled .values }}
values: |-
{{- .values | default "" |indent 10 -}}
{{- if or (and $.Values.ingress.enabled .vhost) .values }}
values: |
{{- if .values }}
{{ toYaml .values | default "" |indent 8 -}}
{{- end }}
{{- if and $.Values.ingress.enabled .vhost }}
{{- $shift := empty .ingress_prefix -}}
{{- $indent := ternary 8 10 $shift -}}
{{- if .ingress_prefix }}
{{ .ingress_prefix | indent 8 }}:
{{- end }}
{{- include "heqet.ingress" . | indent $indent -}}
{{- include "heqet.ingress" . | indent $indent -}}
{{- end }}
{{- end -}}
{{- end }}
@ -58,4 +60,8 @@ spec:
# FIXME: Open Issue: https://github.com/helm/helm/issues/8026
prune: {{ $.Values.defaults.automated.prune | default false }}
selfHeal: {{ $.Values.defaults.automated.selfHeal | default false }}
{{- if .ignoreDifferences }}
ignoreDifferences:
{{ .ignoreDifferences | indent 4 }}
{{- end }}
{{ end }}

@ -51,6 +51,10 @@ apps:
- name: server.extraArgs
value: '[ "--insecure" ]'
no_quote: true
values:
server:
extraArgs:
- --insecure
- name: jaeger
path: charts/jaeger
@ -102,6 +106,22 @@ apps:
value: "true"
- name: ui.enabled
value: "true"
ignoreDifferences: |
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
jsonPointers:
- /metadata/annotations
- /metadata/labels
- /spec/validation
- group: admissionregistration.k8s.io
kind: MutatingWebhookConfiguration
jsonPointers:
- /webhooks
- group: admissionregistration.k8s.io
kind: ValidatingWebhookConfiguration
jsonPointers:
- /webhooks
- name: kubernetes-dashboard
path: stable/kubernetes-dashboard

Loading…
Cancel
Save