add api cert

This commit is contained in:
2025-05-15 15:54:31 -05:00
parent f7d1763910
commit 4790d8b887
2 changed files with 29 additions and 6 deletions

28
tmp/routercopy.yaml Normal file
View File

@@ -0,0 +1,28 @@
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: router-cert
namespace: openshift-ingress
annotations:
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true
spec:
commonName: apps.hub.mk-labs.cloud
dnsNames:
- apps.hub.mk-labs.cloud
- "*.apps.hub.mk-labs.cloud"
issuerRef:
group: cert-manager.io
kind: ClusterIssuer
name: letsencrypt-prod
secretName: router-cert
---
apiVersion: operator.openshift.io/v1
kind: IngressController
metadata:
name: default
namespace: openshift-ingress-operator
spec:
defaultCertificate:
name: router-cert