{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}

{{/* Append the hardcoded settings */}}
{{- define "reverse-proxy.harcodedValues" -}}

# Disable Deployment
controller:
  enabled: false

# Disable Service
service:
  main:
    enabled: false

{{- end -}}
{{- $_ := mergeOverwrite .Values (include "reverse-proxy.harcodedValues" . | fromYaml) -}}

{{/* Render the templates */}}
{{ include "common.all" . }}
