Skip to content

Commit be3363e

Browse files
committed
drop the suffix cname
1 parent c7cdad6 commit be3363e

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

chart/templates/controller.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ data:
9494
VELA_KEYCLOAK_ADMIN_SECRET: {{ .Values.controller.env.VELA_KEYCLOAK_ADMIN_SECRET | quote }}
9595
VELA_CLOUDFLARE__API_TOKEN: {{ .Values.controller.env.VELA_CLOUDFLARE_API_TOKEN | quote }}
9696
VELA_CLOUDFLARE__ZONE_ID: {{ .Values.controller.env.VELA_CLOUDFLARE_ZONE_ID | quote }}
97-
VELA_CLOUDFLARE__BRANCH_REF_CNAME: {{ .Values.controller.env.VELA_BRANCH_REF_CNAME | quote }}
98-
VELA_CLOUDFLARE__BRANCH_DB_REF_CNAME: {{ .Values.controller.env.VELA_BRANCH_DB_REF_CNAME | quote }}
97+
VELA_CLOUDFLARE__BRANCH_REF: {{ .Values.controller.env.VELA_BRANCH_REF | quote }}
98+
VELA_CLOUDFLARE__BRANCH_DB_REF: {{ .Values.controller.env.VELA_BRANCH_DB_REF | quote }}
9999
VELA_CLOUDFLARE__DOMAIN_SUFFIX: {{ .Values.domain | quote }}
100100
VELA_DEPLOYMENT_NAMESPACE_PREFIX: {{ .Values.controller.env.VELA_DEPLOYMENT_NAMESPACE_PREFIX | quote }}
101101
VELA_DEPLOYMENT_SERVICE_PORT: {{ .Values.port | quote }}

chart/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ controller:
3434
VELA_CLOUDFLARE_API_TOKEN: 'your_cloudflare_api_token'
3535
VELA_CLOUDFLARE_ZONE_ID: 'your_cloudflare_zone_id'
3636
VELA_DEPLOYMENT_NAMESPACE_PREFIX: 'vela'
37-
VELA_BRANCH_REF_CNAME: 'demo-ref.vela.run'
38-
VELA_BRANCH_DB_REF_CNAME: 'demo-dbref.vela.run'
37+
VELA_BRANCH_REF: 'demo-ref.vela.run'
38+
VELA_BRANCH_DB_REF: 'demo-dbref.vela.run'
3939
VELA_KEYCLOAK_URL: 'http://vela-auth-service:8080/auth/'
4040
VELA_JWT_SECRET: 'http://vela-auth-service:8080/auth/realms/vela/protocol/openid-connect/certs'
4141
VELA_GRAFANA_URL: 'http://vela-grafana:3000'

containers/compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ services:
3232
VELA_KEYCLOAK_ADMIN_SECRET: 'admin'
3333
VELA_CLOUDFLARE__API_TOKEN: 'your_cloudflare_api_token'
3434
VELA_CLOUDFLARE__ZONE_ID: 'your_cloudflare_zone_id'
35-
VELA_CLOUDFLARE__BRANCH_REF_CNAME: 'branch-ref.staging.vela.run'
36-
VELA_CLOUDFLARE__BRANCH_DB_REF_CNAME: 'branch-db-ref.staging.vela.run'
35+
VELA_CLOUDFLARE__BRANCH_REF: 'branch-ref.staging.vela.run'
36+
VELA_CLOUDFLARE__BRANCH_DB_REF: 'branch-db-ref.staging.vela.run'
3737
VELA_CLOUDFLARE__DOMAIN_SUFFIX: 'example.com'
3838
VELA_DEPLOYMENT_NAMESPACE_PREFIX: 'vela'
3939
VELA_GRAFANA_URL: 'http://grafana:3000'

src/deployment/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ async def provision_branch_endpoints(
11861186
cf_cfg,
11871187
domain=domain,
11881188
record_type="CNAME",
1189-
content=cf_cfg.branch_ref_cname,
1189+
content=cf_cfg.branch_ref,
11901190
proxied=False,
11911191
)
11921192
)
@@ -1195,7 +1195,7 @@ async def provision_branch_endpoints(
11951195
cf_cfg,
11961196
domain=db_domain,
11971197
record_type=DATABASE_DNS_RECORD_TYPE,
1198-
content=cf_cfg.branch_db_ref_cname,
1198+
content=cf_cfg.branch_db_ref,
11991199
proxied=False,
12001200
)
12011201
)

src/deployment/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
class CloudflareSettings(BaseModel):
99
api_token: str
1010
zone_id: str
11-
branch_ref_cname: str
12-
branch_db_ref_cname: str
11+
branch_ref: str
12+
branch_db_ref: str
1313
domain_suffix: str
1414

1515

0 commit comments

Comments
 (0)