Skip to content

Commit d392301

Browse files
committed
chore(charts): change platform_domain to global
1 parent 38421b4 commit d392301

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

charts/controller/templates/controller-certificate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
name: drycc-cluster-issuer
1111
kind: ClusterIssuer
1212
dnsNames:
13-
- drycc.{{ .Values.platform_domain }}
13+
- drycc.{{ .Values.global.platform_domain }}
1414
privateKey:
1515
rotationPolicy: Always
1616
{{- end }}

charts/controller/templates/controller-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ spec:
6262
- name: "DRYCC_INGRESS_CLASS"
6363
value: "{{ .Values.global.ingress_class }}"
6464
- name: "DRYCC_PLATFORM_DOMAIN"
65-
value: "{{ .Values.platform_domain }}"
65+
value: "{{ .Values.global.platform_domain }}"
6666
- name: "K8S_API_VERIFY_TLS"
6767
value: "{{ .Values.k8s_api_verify_tls }}"
6868
- name: "DRYCC_REGISTRY_PROXY_PORT"

charts/controller/templates/controller-ingress.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ metadata:
1515
{{ end }}
1616
spec:
1717
rules:
18-
- host: drycc.{{ .Values.platform_domain }}
18+
- host: drycc.{{ .Values.global.platform_domain }}
1919
http:
2020
paths:
2121
{{- if eq .Values.global.ingress_class "gce" "alb" }}
@@ -30,5 +30,5 @@ spec:
3030
tls:
3131
- secretName: drycc-controller-auto-tls
3232
hosts:
33-
- drycc.{{ .Values.platform_domain }}
33+
- drycc.{{ .Values.global.platform_domain }}
3434
{{- end }}

charts/controller/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ deploy_hook_urls: ""
1515
registration_mode: "admin_only"
1616
# Option to disable ssl verification to connect to k8s api server
1717
k8s_api_verify_tls: "true"
18-
# The public resolvable hostname to build your cluster with.
19-
#
20-
# This will be the hostname that is used to build endpoints such as "drycc.$HOSTNAME"
21-
platform_domain: ""
2218

2319
global:
2420
# Admin email, used for each component to send email to administrator
@@ -54,5 +50,9 @@ global:
5450
use_rbac: false
5551
# Please check `kubernetes.io/ingress.class`
5652
ingress_class: ""
53+
# The public resolvable hostname to build your cluster with.
54+
#
55+
# This will be the hostname that is used to build endpoints such as "drycc.$HOSTNAME"
56+
platform_domain: ""
5757
# Whether cert_manager is enabled to automatically generate controller certificates
5858
cert_manager_enabled: "true"

0 commit comments

Comments
 (0)