Skip to content

Commit

Permalink
Add IS_EC2_INSTALL env var (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh authored Dec 20, 2024
1 parent 76f9364 commit 4736d76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/kotsadm-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ spec:
{{- if .Values.embeddedClusterVersion }}
- name: EMBEDDED_CLUSTER_VERSION
value: {{ .Values.embeddedClusterVersion | quote }}
{{- end }}
{{- if .Values.isEC2Install }}
- name: IS_EC2_INSTALL
value: {{ .Values.isEC2Install | quote }}
{{- end }}
- name: DISABLE_OUTBOUND_CONNECTIONS
value: {{ .Values.isAirgap | quote }}
Expand Down
1 change: 1 addition & 0 deletions values.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ passwordSecretRef: {}
minimalRBAC: true
embeddedClusterID: ""
embeddedClusterVersion: ""
isEC2Install: false
isAirgap: false
isHA: false

Expand Down

0 comments on commit 4736d76

Please sign in to comment.