Skip to content
This repository was archived by the owner on Aug 27, 2025. It is now read-only.

Commit 7a7473f

Browse files
committed
chore(deploy): add cert for full tls
1 parent 1356441 commit 7a7473f

10 files changed

Lines changed: 26 additions & 47 deletions

File tree

deploy/base/cert.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: cert-manager.io/v1
2+
kind: Certificate
3+
metadata:
4+
name: xchar
5+
namespace: crossbell
6+
annotations:
7+
avp.kubernetes.io/path: "kv/data/crossbell/xchar"
8+
spec:
9+
dnsNames:
10+
- "<DOMAIN>"
11+
issuerRef:
12+
kind: ClusterIssuer
13+
name: cloudflare
14+
secretName: xchar-cert

deploy/base/kustomization.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
4+
resources:
5+
- svc.yaml
6+
- route.yaml
7+
- cert.yaml
8+
- secret.yaml
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ spec:
1414
services:
1515
- name: xchar
1616
port: 3000
17+
tls:
18+
secretName: xchar-cert

deploy/dev/kustomization.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

44
resources:
5+
- ../base
56
- deploy.yaml
6-
- svc.yaml
7-
- route.yaml
8-
- secret.yaml

deploy/prod/kustomization.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

44
resources:
5+
- ../base
56
- deploy.yaml
6-
- svc.yaml
7-
- route.yaml
8-
- secret.yaml
97
- pvc.yaml

deploy/prod/route.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

deploy/prod/secret.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

deploy/prod/svc.yaml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)