Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automatic creation of ENIConfig's #243

Closed
wants to merge 2 commits into from
Closed
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
13 changes: 13 additions & 0 deletions stable/aws-vpc-cni/templates/eniconfig.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{{- if .Values.crd.create -}}
{{- range .Values.eni_configs -}}
apiVersion: crd.k8s.amazonaws.com/v1alpha1
kind: ENIConfig
metadata:
name: {{ .az }}
spec:
subnet: {{ .subnet }}
securityGroups:
{{ toYaml .security_groups | indent 2 }}
---
{{- end -}}
{{- end -}}
8 changes: 8 additions & 0 deletions stable/aws-vpc-cni/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,11 @@ nodeSelector: {}
tolerations: []

affinity: {}

eni_configs: []
# eni_configs:
# - az: eu-west-1a
# subnet: subnet-0bfb6d177a5fce771
# security_groups:
# - sg-023feb92f68dc6918