Skip to content

Commit

Permalink
Create namespaces before external secrets
Browse files Browse the repository at this point in the history
ExternalSecrets are creates at sync-wave "-1" and they are required for
services like Tekton Results and OSP. But for the secrets to be created,
the namespace should exist in advance. Here we create the namespace
before the secret. It does not affect the deployment of the OSP
operator, it ignores the fact the namespace it tries to create already
exist.
  • Loading branch information
enarha authored and gabemontero committed Jan 30, 2024
1 parent 0fdb200 commit 4bbdd46
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ resources:
- chains-observability-service.yaml
- chains-public-key-viewer.yaml
- chains-secrets-config.yaml
- namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Solves https://issues.redhat.com/browse/PLNSRVCE-1620
---
apiVersion: v1
kind: Namespace
metadata:
name: openshift-pipelines
labels:
argocd.argoproj.io/managed-by: openshift-gitops
annotations:
argocd.argoproj.io/sync-wave: "-1"
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ metadata:
labels:
argocd.argoproj.io/managed-by: openshift-gitops
annotations:
argocd.argoproj.io/sync-wave: "0"
# Solves https://issues.redhat.com/browse/PLNSRVCE-1620
argocd.argoproj.io/sync-wave: "-1"

0 comments on commit 4bbdd46

Please sign in to comment.