Skip to content

Commit

Permalink
add script for jhub secrets and escape ima dev client secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
garciagenrique committed Apr 23, 2024
1 parent 56e1715 commit d543fe3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions infrastructure/scripts/jhub-dev-1-secrets.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
kubectl create secret generic jhub-dev-iam-secrets --dry-run=client --from-file=/root/software/vre-dev/infrastructure/secrets/tmp_local_secrets/jhub-vre-dev-iam-secrets.yaml -o yaml | \
kubeseal --controller-name=sealed-secrets-controller --controller-namespace=sealed-secrets --format yaml --namespace=jhub-dev > /root/software/vre-dev/infrastructure/secrets/jhub-dev/ss_jhub-dev-iam-secrets.yaml

#kubectl create secret tls cern-sectigo-tls-certificate --key="tls.key" --cert="tls.crt" --dry-run=client -o yaml | \
#kubeseal --controller-name=sealed-secrets-cvre --controller-namespace=shared-services --format yaml --namespace=jhub > ss_cern-sectigo-tls-certificate.yaml
15 changes: 15 additions & 0 deletions infrastructure/secrets/jhub-dev/ss_jhub-dev-iam-secrets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name: jhub-dev-iam-secrets
namespace: jhub-dev
spec:
encryptedData:
jhub-vre-dev-iam-secrets.yaml: AgBDvesdlWpcyQ3KVdwdQtOXVgXkOB46Wy81UavaDTZ96l6l8RVOBjGFBk1GKcdhYkUlJQaF21DGL0WK09Cyue1MMnkJIBorqNn9FW2PNq0F1fmEGNk72P+pBgpjpzyJJ4z6nNHe0TW0P9KCMb3MCkcarSPi+ag9/b6RDhAfPMDcOFTudjG31ED18edx2MLIzBEh0KvlB7szuWItvlHJdJ3dr1Fbvc2M84FRf0YPTLWONedyD0DPSBfzSyyAc5xA0mBnp7bgaOGBi7pQyEU7OSQeEhc7jCHsh56gfKt+LwdZfQtXIlVj+ppgMOj97aaZasvXxQkAW8/Zi1NDUNhCqPve2Jv6BoyolyKoR0cVysRsTAbd7pvdw9wAeO0sRPdr0Rqz+YgGE0AerqyABHsXdzMgutheaiM1/UnfBj/zsL5UH1rJSGmIsYYbn4+WK9LupQCf3UW5Gb5+PLObC5Fowsbs9Q9Tu8cxBrWV2fZLSFg34DKnBfQteYNrtkRdIfVjueFcSTycQNm95jYNKPPgrUEeV20lkh0IqTg5dYOoEVWxKuV46+jT3ba7SuzM8s04KkVOHPo+FoxGU9ZLASZTerh98aMsBiLyQgEtpbr7U1h6iNHbRbhHqk+ED6Exll5mdE07Z887qgw1oyfq4ZO8CezTlnb79m20e5x8NLXHtGGijGHzOb6DackjSunJWoUvIcbmcO3FMHvMf31/+AqaM2CxzBGaflrARuE3ANy/muOU/yg+kr/E0hYlfAJNV8mEjgWXUKqxvLD8uwSgTgLrQR3t4W/JaKwL/xBId2jd6FYi6vePwjiqYjnCZfZslqVbM4vcedznOmzcxE+sy60B5KkC720xg5SsglY6nl6wGILjokj3BcdcYtZAg1AjdpHGJw1rYesEwAqNaXrSibESp0Z9KfM18DW6Xo5MDSJ/sCY3YN24GYvAMyQNYEhkU6RmSZNeEr7kI2cbeZD5iSpTM6a1qzZuMcauV8xpUhlflbT5jWJwoYH8To/CG3I7XnCmydmVqYxSBo+y2dfb7PtXzcet2MZQELxlv0cqw78juR9EEgS4AQ==
template:
metadata:
creationTimestamp: null
name: jhub-dev-iam-secrets
namespace: jhub-dev

0 comments on commit d543fe3

Please sign in to comment.