Rename traefik_domain var to cluster_domain
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2022-02-26 00:45:40 +01:00
parent 67c1e7a6c5
commit 24ded415ec
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
3 changed files with 8 additions and 8 deletions

View file

@ -109,7 +109,7 @@
# annotations: {}
# # kubernetes.io/ingress.class: traefik
# hosts:
# - host: trivy.{{ traefik_domain }}
# - host: trivy.{{ cluster_domain }}
tags:
- trivy
@ -162,7 +162,7 @@
annotations: {}
labels: {}
hosts[0]:
name: chartmuseum.{{ traefik_domain }}
name: chartmuseum.{{ cluster_domain }}
tags:
- chartmuseum

View file

@ -51,13 +51,13 @@ ingress:
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
traefik.ingress.kubernetes.io/router.middlewares: security_headers@file
hosts:
- host: drone.{{ traefik_domain }}
- host: drone.{{ cluster_domain }}
paths:
- "/"
tls:
- secretName: drone.{{ traefik_domain }}
- secretName: drone.{{ cluster_domain }}
hosts:
- drone.{{ traefik_domain }}
- drone.{{ cluster_domain }}
resources:
limits:
@ -168,7 +168,7 @@ env:
## REQUIRED: Set the user-visible Drone hostname, sans protocol.
## Ref: https://docs.drone.io/installation/reference/drone-server-host/
##
DRONE_SERVER_HOST: "drone.{{ traefik_domain }}"
DRONE_SERVER_HOST: "drone.{{ cluster_domain }}"
## The protocol to pair with the value in DRONE_SERVER_HOST (http or https).
## Ref: https://docs.drone.io/installation/reference/drone-server-proto/
##
@ -242,7 +242,7 @@ env:
##
DRONE_GITEA_CLIENT_ID: "{{ drone_gitea_client_id }}"
DRONE_GITEA_CLIENT_SECRET: "{{ drone_gitea_client_secret }}"
DRONE_GITEA_SERVER: "https://gitea.{{ traefik_domain }}"
DRONE_GITEA_SERVER: "https://gitea.{{ cluster_domain }}"
## Gogs-specific variables. See the provider docs here:
## Ref: https://docs.drone.io/installation/providers/gogs/

View file

@ -17,7 +17,7 @@ spec:
# Match is the rule corresponding to an underlying router.
# Later on, match could be the simple form of a path prefix, e.g. just "/bar",
# but for now we only support a traefik style matching rule.
- match: Host(`gitea.{{ traefik_domain }}`)
- match: Host(`gitea.{{ cluster_domain }}`)
# kind could eventually be one of "Rule", "Path", "Host", "Method", "Header",
# "Parameter", etc, to support simpler forms of rule matching, but for now we
# only support "Rule".