File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1212 resources : {}
1313 port :
1414 replicaCount :
15- loadBalancer :
16- name :
17- targetGroupARN :
18- securityGroupID :
1915worker :
2016 name :
2117 enabled :
Original file line number Diff line number Diff line change 1919 app.kubernetes.io/component : web
2020 app.kubernetes.io/part-of : {{ $.Release.Name | quote }}
2121---
22+ {{- $configMap := lookup "v1" "ConfigMap" {{ $.Release.Namespace | quote }} "network-config" }}
2223apiVersion : elbv2.k8s.aws/v1beta1
2324kind : TargetGroupBinding
2425annotations :
@@ -35,11 +36,11 @@ spec:
3536 serviceRef :
3637 name : {{ .Values.main.name }}-service # route traffic to the created service
3738 port : {{ .Values.main.servicePort | default 80 }}
38- targetGroupARN : {{ .Values.main.loadBalancer .targetGroupARN }}
39+ targetGroupARN : {{ $configMap.data .targetGroupARN }}
3940 networking :
4041 ingress :
4142 - from :
4243 - securityGroup :
43- groupID : {{ .Values.main.loadBalancer .securityGroupID }}
44+ groupID : {{ $configMap.data .securityGroupID }}
4445 ports :
4546 - protocol : TCP
You can’t perform that action at this time.
0 commit comments