Merge branch 'refs/heads/main' into infra/postgresql
This commit is contained in:
6
scripts/5.install-sealed-secrets.sh
Normal file
6
scripts/5.install-sealed-secrets.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
helm repo add sealed-secrets https://bitnami-labs.github.io/sealed-secrets
|
||||
helm repo update
|
||||
helm install sealed-secrets -n kube-system --set-string fullnameOverride=sealed-secrets-controller sealed-secrets/sealed-secrets -f sealed-secrets-values.yaml
|
||||
7
scripts/encrypt-file-by-sealed-secrets.sh
Normal file
7
scripts/encrypt-file-by-sealed-secrets.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/bash
|
||||
set -e
|
||||
|
||||
secretName=$1
|
||||
filePath=$2
|
||||
|
||||
cat $filePath | kubeseal --format yaml --scope cluster-wide | tee $filePath
|
||||
3
scripts/sealed-secrets-values.yaml
Normal file
3
scripts/sealed-secrets-values.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
service:
|
||||
type: NodePort
|
||||
nodePort: 31008
|
||||
Reference in New Issue
Block a user