File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
deploy/services/helm-charts/dss Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
{{- $cloudProvider := $.Values.global.cloudProvider}}
2
+ {{- $cockroachDbExternalNodeSuffix := default "" $.Values.cockroachdb.conf.crdbNodeSuffix }}
2
3
3
4
{{- if $.Values.cockroachdb.enabled }}
4
5
@@ -12,7 +13,7 @@ metadata:
12
13
service.alpha.kubernetes.io/tolerate-unready-endpoints : " true"
13
14
{{- include (printf "%s-lb-crdb-annotations" $cloudProvider)
14
15
(dict
15
- " name" (printf "%s-%s" "cockroach-db-external-node" ( $i | toString) )
16
+ " name" (printf "%s-%s%s " "cockroach-db-external-node" ( $i | toString) $cockroachDbExternalNodeSuffix | trunc 31 )
16
17
" ip" $lb.ip
17
18
" subnet" $lb.subnet
18
19
" cloudProvider" $cloudProvider
Original file line number Diff line number Diff line change 1
1
{{- $cloudProvider := $.Values.global.cloudProvider}}
2
+ {{- $gatewayId := default "" $.Values.dss.gatewayId }}
2
3
{{- if eq $cloudProvider "aws" }}
3
4
{{/*
4
5
AWS application load balancer Ingress do not support elastic ip assignment yet. Therefore, the
@@ -13,7 +14,7 @@ metadata:
13
14
{{- include (printf "%s-ingress-dss-gateway-annotations" $cloudProvider)
14
15
(merge .
15
16
(dict
16
- " name" " dss-gateway-external"
17
+ " name" (printf "%s%s" $gatewayId " dss-gateway-external" | trunc 63)
17
18
" cloudProvider" $cloudProvider
18
19
)
19
20
) | nindent 4
Original file line number Diff line number Diff line change 4
4
image : docker.io/interuss/dss:v0.15.0 # See https://hub.docker.com/r/interuss/dss/tags for official image releases.
5
5
# When running local images in minikube, uncomment the following line
6
6
# imagePullPolicy: Never
7
+ # Unique identifier for the AWS networking component
8
+ # gatewayId: 6f1e5814-
7
9
conf :
8
10
pubKeys :
9
11
- /test-certs/auth2.pem
@@ -20,6 +22,8 @@ cockroachdb:
20
22
fullnameOverride : dss-cockroachdb
21
23
conf :
22
24
join : []
25
+ # Used to generate a unique identifier for the AWS networking component
26
+ # crdbNodeSuffix: dallas
23
27
cluster-name : interuss-example
24
28
single-node : false
25
29
locality : zone=interuss-example-google-ew1
You can’t perform that action at this time.
0 commit comments