-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding support of ingressClassParams in helm charts (#2478)
* Adding support of ingressClassParams in helm charts * Update charts to let users to create ingressClassParams with specs * Simplying the spec in values yaml * Adding support for customer's ingressClassParams * Using values fields directly instead of function * eks1.19 doesn't allow null spec and need move if check out from spec block.
- Loading branch information
Showing
6 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
helm/aws-load-balancer-controller/templates/ingressclassparams.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{- if .Values.ingressClassParams.create }} | ||
apiVersion: elbv2.k8s.aws/v1beta1 | ||
kind: IngressClassParams | ||
metadata: | ||
name: {{ include "aws-load-balancer-controller.ingressClassParamsName" . }} | ||
{{- if .Values.ingressClassParams.spec }} | ||
spec: | ||
{{ toYaml .Values.ingressClassParams.spec | nindent 2}} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters