podinfo domain tweaks
ci / build (push) Waiting to run Details

This commit is contained in:
CJ_Clippy 2024-06-28 17:50:07 -08:00
parent b18fa84edd
commit 3b193f42e9
6 changed files with 25 additions and 10 deletions

View File

@ -3,6 +3,7 @@
"https://json.schemastore.org/yamllint.json": [
"file:///home/cj/Documents/futureporn-monorepo/charts/fp/templates/next.yaml",
"file:///home/cj/Documents/futureporn-monorepo/charts/fp/templates/strapi.yaml"
]
],
"https://json.schemastore.org/kustomization.json": "file:///home/cj/Documents/futureporn-monorepo/clusters/production/infrastructure.yaml"
}
}

View File

@ -29,14 +29,15 @@ spec:
annotations:
kubernetes.io/ingress.class: "traefik"
traefik.ingress.kubernetes.io/router.priority: "4"
traefik.ingress.kubernetes.io/router.tls: "true"
traefik.ingress.kubernetes.io/router.tls.domains.0.main: podinfo.sbtp.xyz
traefik.ingress.kubernetes.io/router.entrypoints: http
traefik.ingress.kubernetes.io/router.tls: "false"
traefik.ingress.kubernetes.io/router.tls.domains.0.main: podinfo.fp.sbtp.xyz
traefik.ingress.kubernetes.io/router.entrypoints: web
traefik.ingress.kubernetes.io/service.nativelb: podinfo
cert-manager.io/cluster-issuer: "letsencrypt-staging"
external-dns.alpha.kubernetes.io/hostname: podinfo.fp.sbtp.xyz
# cert-manager.io/cluster-issuer: "letsencrypt-staging"
# ingress.kubernetes.io/ssl-redirect: "true"
hosts:
- host: podinfo.sbtp.xyz
- host: podinfo.fp.sbtp.xyz
paths:
- path: /
pathType: Prefix

View File

@ -12,7 +12,7 @@ spec:
values:
ingress:
hosts:
- host: podinfo.sbtp.xyz
- host: podinfo.fp.sbtp.xyz
paths:
- path: /
pathType: ImplementationSpecific

View File

@ -36,7 +36,7 @@ spec:
- patch: |
- op: replace
path: /spec/acme/privateKeySecretRef/name
value: letsencrypt-staging
value: letsencrypt-production
target:
kind: ClusterIssuer
name: letsencrypt
@ -50,7 +50,7 @@ spec:
- patch: |
- op: replace
path: /metadata/name
value: letsencrypt-staging
value: letsencrypt-production
target:
kind: ClusterIssuer
name: letsencrypt

View File

@ -40,3 +40,17 @@ spec:
target:
kind: ClusterIssuer
name: letsencrypt
- patch: |
- op: replace
path: /metadata/name
value: letsencrypt-staging
target:
kind: ClusterIssuer
name: letsencrypt
- patch: |
- op: replace
path: /spec/acme/privateKeySecretRef/name
value: letsencrypt-staging
target:
kind: ClusterIssuer
name: letsencrypt

View File

@ -9,7 +9,6 @@ spec:
acme:
# Replace the email address with your own contact email
email: cj@futureporn.net
# The server is replaced in /clusters/production/infrastructure.yaml
server: https://example.com
privateKeySecretRef:
name: letsencrypt