File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ # Patch default IngressController to use the wildcard certificate
3+ apiVersion : operator.openshift.io/v1
4+ kind : IngressController
5+ metadata :
6+ name : default
7+ namespace : openshift-ingress-operator
8+ annotations :
9+ argocd.argoproj.io/sync-wave : " 4"
10+ spec :
11+ defaultCertificate :
12+ name : wildcard-apps-makeitwork-cloud-tls
Original file line number Diff line number Diff line change @@ -8,5 +8,6 @@ resources:
88 - wildcard-certificate.yaml
99 - openshift-ingress-config.yaml
1010 - apiserver-config.yaml
11+ - ingress-patch.yaml
1112generators :
1213 - ksops-cert-manager-secrets.yaml
Original file line number Diff line number Diff line change 11---
22# Wildcard certificate for *.apps.makeitwork.cloud
3- # Created in openshift-config for use by componentRoutes (console, oauth)
4- # External apps (*.makeitwork.cloud) use Cloudflare Tunnel which handles TLS at the edge
3+ # Created in openshift-ingress for use as default ingress certificate
54apiVersion : cert-manager.io/v1
65kind : Certificate
76metadata :
87 name : wildcard-apps-makeitwork-cloud
8+ namespace : openshift-ingress
9+ annotations :
10+ argocd.argoproj.io/sync-wave : " 3"
11+ spec :
12+ secretName : wildcard-apps-makeitwork-cloud-tls
13+ issuerRef :
14+ name : letsencrypt-cloudflare
15+ kind : ClusterIssuer
16+ commonName : " *.apps.makeitwork.cloud"
17+ dnsNames :
18+ - " *.apps.makeitwork.cloud"
19+ # Renew 30 days before expiry
20+ renewBefore : 720h
21+ ---
22+ # Wildcard certificate for *.apps.makeitwork.cloud (Copy for openshift-config)
23+ # Required because OpenShift config resources cannot reference secrets in other namespaces
24+ apiVersion : cert-manager.io/v1
25+ kind : Certificate
26+ metadata :
27+ name : wildcard-apps-makeitwork-cloud-config
928 namespace : openshift-config
1029 annotations :
1130 argocd.argoproj.io/sync-wave : " 3"
Original file line number Diff line number Diff line change @@ -111,20 +111,3 @@ spec:
111111 tls :
112112 termination : edge
113113 insecureEdgeTerminationPolicy : Redirect
114- certificate : " " # Use default ingress certificate
115- ---
116- apiVersion : cert-manager.io/v1
117- kind : Certificate
118- metadata :
119- name : ollama-cert
120- namespace : ollama
121- annotations :
122- argocd.argoproj.io/sync-wave : " 2"
123- spec :
124- secretName : ollama-tls
125- issuerRef :
126- name : letsencrypt-cloudflare
127- kind : ClusterIssuer
128- commonName : " ollama.apps.makeitwork.cloud"
129- dnsNames :
130- - " ollama.apps.makeitwork.cloud"
You can’t perform that action at this time.
0 commit comments