Skip to content

Commit 4f3d496

Browse files
committed
add variable to skip default providerConfig
Signed-off-by: Carlos Santana <[email protected]>
1 parent 235aed5 commit 4f3d496

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

charts/crossplane-aws/templates/provider-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ spec:
2121
{{- .spec | toYaml | nindent 2 }}
2222
{{- end }}
2323

24+
{{- if .Values.providerConfig.default }}
2425
---
2526
{{- with .Values.providerConfig }}
2627
apiVersion: aws.crossplane.io/v1beta1
@@ -43,5 +44,6 @@ metadata:
4344
spec:
4445
{{- .spec | toYaml | nindent 2 }}
4546
{{- end }}
47+
{{- end }}
4648

4749
{{- end }}

charts/crossplane-aws/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ provider:
3838

3939
providerConfig:
4040
enabled: true
41+
default: true
4142
metadata:
4243
name: "aws-provider-config"
4344
annotations: {}

0 commit comments

Comments
 (0)