Skip to content
Open
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
6 changes: 4 additions & 2 deletions templates/kotsadm-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ metadata:
{{- include "admin-console.labels" . | nindent 4 }}
name: kotsadm-confg
data:
initial-app-images-pushed: "false"
minio-enabled-snapshots: "false"
registry-is-read-only: "false"
skip-preflights: {{ .Values.automation.skipPreflights | quote }}
with-minio: "false"
{{- if .Values.automation.appVersionLabel }}
app-version-label: {{ .Values.automation.appVersionLabel | quote }}
{{- end }}
{{- if .Values.registry.enabled }}
registry-is-read-only: "{{ .Values.registry.readOnly | quote }}"
kotsadm-registry: "{{ .Values.registry.endpoint | quote }}"
{{- end }}
4 changes: 2 additions & 2 deletions templates/kotsadm-default-license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: v1
kind: Secret
metadata:
annotations:
kots.io/airgap: "false"
kots.io/airgap: "{{ .Values.automation.airgap | quote }}"
labels:
kots.io/app: {{ .Values.automation.license.slug }}
kots.io/automation: license
Expand All @@ -12,4 +12,4 @@ metadata:
type: Opaque
data:
license: {{ .Values.automation.license.data | b64enc }}
{{ end }}
{{ end }}
6 changes: 6 additions & 0 deletions values.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ automation:
appVersionLabel: ""
config:
values: ""
airgap: false

registry:
enabled: false
readOnly: false
endpoint: ""

imagePullSecrets: []
nameOverride: ""
Expand Down