Skip to content

Commit

Permalink
adding steps for shared secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
enekofb committed Oct 11, 2023
1 parent ad8a063 commit 3036396
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 16 additions & 0 deletions utils/scripts/resources/shared-secrets-kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: shared-secrets
namespace: flux-system
spec:
interval: 10m0s
sourceRef:
kind: GitRepository
name: flux-system
path: ./shared-secrets
prune: true
decryption:
provider: sops
secretRef:
name: sops-gpg
4 changes: 3 additions & 1 deletion utils/scripts/wego-enterprise.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ function setup {

kubectl apply -f ${args[1]}/resources/cluster-user-auth.yaml

# kubectl apply -f ${args[1]}/resources/entitlement-secret.yaml
kubectl apply -f ${args[1]}/resources/shared-secrets-kustomization.yaml

flux reconcile kustomization -n flux-system shared-secrets --verbose

# Choosing weave-gitops-enterprise chart version to install
if [ -z ${ENTERPRISE_CHART_VERSION} ]; then
Expand Down

0 comments on commit 3036396

Please sign in to comment.