Skip to content

Commit 60427c7

Browse files
committed
Rollout cert
Part of * stormshift/support#227
1 parent 0ea1d36 commit 60427c7

File tree

6 files changed

+52
-0
lines changed

6 files changed

+52
-0
lines changed

configuration/overlays/stormshift-ocp4/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ kind: Kustomization
55
resources:
66
- ../common/
77
- cluster-scope/
8+
- namespace/
89
- ../../../apps/astra-trident/overlays/stormshift-ocp4/
910

1011
# Custom logo
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- openshift-ingress/
5+
- openshift-ingress-operator/
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: operator.openshift.io/v1
2+
kind: IngressController
3+
metadata:
4+
name: default
5+
namespace: openshift-ingress-operator
6+
annotations:
7+
argocd.argoproj.io/sync-options: "ServerSideApply=true,Validate=false"
8+
spec:
9+
defaultCertificate:
10+
name: ocp-coe-cert
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
4+
resources:
5+
- IngressController/default.yaml
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apiVersion: external-secrets.io/v1beta1
2+
kind: ExternalSecret
3+
metadata:
4+
name: ocp-coe-cert
5+
spec:
6+
data:
7+
- remoteRef:
8+
key: coe-lab/certificate/api.ocp4.stormshift.coe.muc.redhat.com
9+
property: cert_and_intermediate_pem
10+
secretKey: tls.crt
11+
- remoteRef:
12+
key: coe-lab/certificate/api.ocp4.stormshift.coe.muc.redhat.com
13+
property: key
14+
secretKey: tls.key
15+
refreshInterval: 12h
16+
secretStoreRef:
17+
kind: ClusterSecretStore
18+
name: redhat-vault
19+
target:
20+
creationPolicy: Owner
21+
deletionPolicy: Retain
22+
name: ocp-coe-cert
23+
template:
24+
type: kubernetes.io/tls
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
4+
namespace: openshift-ingress
5+
6+
resources:
7+
- ExternalSecret/ocp-coe-cert.yaml

0 commit comments

Comments
 (0)