Skip to content

Commit 17d20cc

Browse files
committed
chore(charts): remove cluster domain
1 parent 57c89a8 commit 17d20cc

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

charts/storage/templates/storage-statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ spec:
8989
{{- $factor := mul $i $replicaCount }}
9090
{{- $endIndex := sub (add $factor $replicaCount) 1 }}
9191
{{- $beginIndex := mul $i $replicaCount }}
92-
- {{(printf "http://drycc-storage-{%d...%d}.drycc-storage.%s.svc.%s:9000/data/{0...%d}" $beginIndex $endIndex $.Release.Namespace $.Values.global.clusterDomain (sub $driveCount 1) ) }}
92+
- {{(printf "http://drycc-storage-{%d...%d}.drycc-storage:9000/data/{0...%d}" $beginIndex $endIndex (sub $driveCount 1) ) }}
9393
{{- end }}
9494
- --address
9595
- :9000

charts/storage/values.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,3 @@ persistence:
4646
enabled: false
4747
size: 5Gi
4848
storageClass: ""
49-
50-
global:
51-
# A domain name consists of one or more parts.
52-
# Periods (.) are used to separate these parts.
53-
# Each part must be 1 to 63 characters in length and can contain lowercase letters, digits, and hyphens (-).
54-
# It must start and end with a lowercase letter or digit.
55-
clusterDomain: "cluster.local"

0 commit comments

Comments
 (0)