github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/helm/templates/addons/aws-loadbalancer-controller-addon.yaml (about) 1 apiVersion: extensions.kubeblocks.io/v1alpha1 2 kind: Addon 3 metadata: 4 name: aws-load-balancer-controller 5 labels: 6 {{- include "kubeblocks.labels" . | nindent 4 }} 7 {{- if .Values.keepAddons }} 8 annotations: 9 helm.sh/resource-policy: keep 10 {{- end }} 11 spec: 12 description: The AWS Load Balancer Controller manages AWS Elastic Load Balancers for a Kubernetes cluster. 13 type: Helm 14 15 helm: 16 {{- include "kubeblocks.addonChartLocationURL" ( dict "name" "aws-load-balancer-controller" "version" "1.4.8" "values" .Values) | indent 4 }} 17 {{- include "kubeblocks.addonChartsImage" . | indent 4 }} 18 19 installOptions: 20 {{- if hasPrefix "oci://" .Values.addonChartLocationBase }} 21 version: 1.4.8 22 {{- end }} 23 24 installValues: 25 configMapRefs: 26 - name: aws-load-balancer-controller-chart-kubeblocks-values 27 key: values-kubeblocks-override.yaml 28 29 setValues: 30 - clusterName={{ index .Values "aws-load-balancer-controller" "clusterName" }} 31 32 valuesMapping: 33 valueMap: 34 replicaCount: replicaCount 35 36 jsonMap: 37 tolerations: tolerations 38 39 resources: 40 cpu: 41 requests: resources.requests.cpu 42 limits: resources.limits.cpu 43 memory: 44 requests: resources.requests.memory 45 limits: resources.limits.memory 46 47 defaultInstallValues: 48 - replicas: 1 49 {{- with .Values.tolerations }} 50 tolerations: {{ toJson . | quote }} 51 {{- end }} 52 53 installable: 54 autoInstall: {{ index .Values "aws-load-balancer-controller" "enabled" }} 55 selectors: 56 - key: KubeGitVersion 57 operator: Contains 58 values: 59 - eks 60