Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 4 additions & 0 deletions templates/helm/templates/deployment.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ spec:
- --feature-gates
- "$(FEATURE_GATES)"
{{ "{{- end }}" }}
- --enable-carm
- "$(ENABLE_CARM)"
image: {{ "{{ .Values.image.repository }}:{{ .Values.image.tag }}" }}
imagePullPolicy: {{ "{{ .Values.image.pullPolicy }}" }}
name: controller
Expand Down Expand Up @@ -142,6 +144,8 @@ spec:
- name: FEATURE_GATES
value: {{ IncludeTemplate "feature-gates" }}
{{ "{{- end }}" }}
- name: ENABLE_CARM
value: {{ "{{ .Values.enableCARM }}" }}
{{ "{{- if .Values.aws.credentials.secretName }}" }}
- name: AWS_SHARED_CREDENTIALS_FILE
value: {{ IncludeTemplate "aws.credentials.path" }}
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