Skip to content

Commit

Permalink
Rollout cert
Browse files Browse the repository at this point in the history
  • Loading branch information
rbo committed Jan 3, 2025
1 parent 0ea1d36 commit 60427c7
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions configuration/overlays/stormshift-ocp4/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ kind: Kustomization
resources:
- ../common/
- cluster-scope/
- namespace/
- ../../../apps/astra-trident/overlays/stormshift-ocp4/

# Custom logo
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- openshift-ingress/
- openshift-ingress-operator/
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: operator.openshift.io/v1
kind: IngressController
metadata:
name: default
namespace: openshift-ingress-operator
annotations:
argocd.argoproj.io/sync-options: "ServerSideApply=true,Validate=false"
spec:
defaultCertificate:
name: ocp-coe-cert
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- IngressController/default.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: ocp-coe-cert
spec:
data:
- remoteRef:
key: coe-lab/certificate/api.ocp4.stormshift.coe.muc.redhat.com
property: cert_and_intermediate_pem
secretKey: tls.crt
- remoteRef:
key: coe-lab/certificate/api.ocp4.stormshift.coe.muc.redhat.com
property: key
secretKey: tls.key
refreshInterval: 12h
secretStoreRef:
kind: ClusterSecretStore
name: redhat-vault
target:
creationPolicy: Owner
deletionPolicy: Retain
name: ocp-coe-cert
template:
type: kubernetes.io/tls
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: openshift-ingress

resources:
- ExternalSecret/ocp-coe-cert.yaml

0 comments on commit 60427c7

Please sign in to comment.