Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 8 additions & 0 deletions templates/helm/templates/deployment.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ spec:
{{ "{{- if .Values.featureGates}}" }}
- --feature-gates
- "$(FEATURE_GATES)"
{{ "{{- end }}" }}
{{ "{{- if and (hasKey .Values "enableCARM") (not .Values.enableCARM) }}"}}
- --enable-carm
- "$(ENABLE_CARM)"
{{ "{{- end }}" }}
image: {{ "{{ .Values.image.repository }}:{{ .Values.image.tag }}" }}
imagePullPolicy: {{ "{{ .Values.image.pullPolicy }}" }}
Expand Down Expand Up @@ -141,6 +145,10 @@ spec:
{{ "{{- if .Values.featureGates}}" }}
- name: FEATURE_GATES
value: {{ IncludeTemplate "feature-gates" }}
{{ "{{- end }}" }}
{{ "{{- if and (hasKey .Values "enableCARM") (not .Values.enableCARM) }}"}}
- name: ENABLE_CARM
- value: "false"
{{ "{{- end }}" }}
{{ "{{- if .Values.aws.credentials.secretName }}" }}
- name: AWS_SHARED_CREDENTIALS_FILE
Expand Down
5 changes: 5 additions & 0 deletions templates/helm/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,11 @@
},
"type": "object"
},
"enableCARM": {
"description": "Parameter to enable or disable cross account resource management.",
"type": "boolean",
"default": true
},
"serviceAccount": {
"description": "ServiceAccount settings",
"properties": {
Expand Down
3 changes: 3 additions & 0 deletions templates/helm/values.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ leaderElection:
# pod.
namespace: ""

# Enable Cross Account Resource Management (default = true). Set this to false to disable cross account resource management.
enableCARM: true

# Configuration for feature gates. These are optional controller features that
# can be individually enabled ("true") or disabled ("false") by adding key/value
# pairs below.
Expand Down