Skip to content

Commit

Permalink
use dashes in kube resource names
Browse files Browse the repository at this point in the history
  • Loading branch information
robj committed Oct 19, 2023
1 parent c1551e8 commit d7f700a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .cicd/manifests/ingress-cn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: {{.Values.namespace}}
name: cn.{{.Values.appName}}-{{.Values.envName}}-ingress
name: cn-{{.Values.appName}}-{{.Values.envName}}-ingress
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
tls:
- hosts:
- cn.{{.Values.ingressDomainName}}
secretName: cn.{{.Values.appName}}-{{.Values.envName}}-tls
secretName: cn-{{.Values.appName}}-{{.Values.envName}}-tls
rules:
- host: cn.{{.Values.ingressDomainName}}
http:
Expand Down
4 changes: 2 additions & 2 deletions .cicd/manifests/ingress-vn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
namespace: {{.Values.namespace}}
name: vn.{{.Values.appName}}-{{.Values.envName}}-ingress
name: vn-{{.Values.appName}}-{{.Values.envName}}-ingress
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
tls:
- hosts:
- vn.{{.Values.ingressDomainName}}
secretName: vn.{{.Values.appName}}-{{.Values.envName}}-tls
secretName: vn-{{.Values.appName}}-{{.Values.envName}}-tls
rules:
- host: vn.{{.Values.ingressDomainName}}
http:
Expand Down

0 comments on commit d7f700a

Please sign in to comment.