Skip to content

Commit

Permalink
re-init k8s cluster, recompute sealedsecrets
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmwang committed Jan 16, 2025
1 parent 5fcf5b7 commit 6a3a915
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion docs/src/core/infrastructure/runbooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Sometimes, releases will be stuck in an `uninstalling` state. This command quick
3. Create a sealed secret from the previously created manifest:

```sh
kubeseal --secret-file my_secret.yaml --sealed-secret-file my_sealed_secret.yaml
kubeseal --controller-name bt-sealed-secrets --controller-namespace bt --secret-file my_secret.yaml --sealed-secret-file my_sealed_secret.yaml
```

If the name of the secret might change across installations, add `--scope=namespace-wide` to the `kubeseal` command. For example, `bt-dev-secret` and `bt-prod-secret` are different names. Deployment without `--scope=namespace-wide` will cause a `no key could decrypt secret` error. More details on [the kubeseal documentation](https://github.com/bitnami-labs/sealed-secrets?tab=readme-ov-file#scopes).
Expand Down
9 changes: 4 additions & 5 deletions infra/app/templates/backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,16 @@ metadata:
{{- include "bt-app.backendLabels" . | nindent 4 }}
spec:
encryptedData:
GOOGLE_CLIENT_ID: AgBVTJStwpZ1JlSEAqB8/cvZ9UCqi+iQHj0fsEKd3PY6l4ftvukvfvienLgUwWYqIDJPkcIm5tmkYXQilx2UtWS8RS7Io9mKN0Z8gcs34fedw2b6EqsvF6cvsgCrALUwfajCGBMigEy637Ymo4UC9bULKDhxH08LGPjgCEvnOgTwEvQy1PdRUQ7tkIEOQ0hDgKUhhx1dMQkCmnNwDWiPPIkC2VpW7mmPWhoros+ZadQaJIbkPMHGCaTPB6VjEZMQm8R06MyJlJ48ZcQ6f5pZAf5E6PZ3S7U4dXWMSEmEzzCy9hubNSovpuKzbW1I0/A4RCnhiNH8yZKaTFGf7LpK2YvTDMnNktN+eFBaNvHrdimmz/32cSjN3VnPeEwsU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cof4XuR2zC+9JFYiBiBupmbyrS4win96DDWrRQROVSELb/LTvRiTYwBAeHpPZgkxexc9jEZS+iCC1PlRP3+vuGKAdv7wMpN/kjAe+vJxo0QSVudP1/QJZP6ynGGED3Y1Chqe3KsEeI85q0nUkth29bke+Z6kEHJHSGIMatDx1rET1UsxgWrvtrE2e8j7MYs3RGHyygz54/yFFONbxuszbs3Zs44xOm6lXOZ0IsFfvpPph7X97MfaM=
SESSION_SECRET: AgCDXmthhXWEjKsbJ/LzWtONKeqPciM30Hih2NXY3hJPHQRyKkOBQP2JXfYkLqtFhLjQB7PgYBj/UfNsAMAapii+ETipPZatBVd4GVFd9/3JseFwqzUTFI7z3LlFxDYqatArkMxksuccH0j0Uuo4wOIAJD9rhYI06001GBOqUIC4aS/oICp0IGBXedEqQmpik10QIR6CiJ26HvkCi2KPp3mvrgUrS9bP7Mw11xMfH4+dN/I2FOFtRVyX9T2eUbVT8JliAepJFFexoudFY5EUdDJ1Vtos1Beb5IwFWnRnrcoYkCSPuIwjkWE2kxPO9X87PwupjzP3UjEGJUFzFzxUqEVNNpFxZsMPVxeYnrNw09oZpIiTxcxrWQAKPh3QNDdQ2cuSMwZEX8NSN1Q0b8Je2l21oKgeMwR4sX4oR+45ucW3h9tcVz7s1BwSmBxwwR2goyiTzFoTMQ6d6lH9d16N/ZTcrjlj1mRlQLuZGz5gQLRY37p7OE7XvIHVvU3+r4fDVhdii3YHak4qMF+mEYuBRl1DyJzj6810i36NzQ44EwWuKs3VOfmnIa5Ov2dC1kSrwV6R/6h84KpfmH/Rtl2WXoFmDq0g1N94i80UxmbrCe/82j+oShZBEpPaf4SMGx/vhqE5cFUyEOAKClPbIwDfJCk7d8H5OAlQwztc1LnRt9iZa5vlnipYQ+33LlCecLE7Rfijdxe9d+1dvk1i
template:
metadata:
annotations:
sealedsecrets.bitnami.com/namespace-wide: "true"
name: {{ include "bt-app.backendName" .}}-secret
labels:
{{- include "bt-app.backendLabels" . | nindent 4 }}
type: Opaque
{{- include "bt-app.backendLabels" . | nindent 8 }}

---

Expand Down
14 changes: 7 additions & 7 deletions infra/app/templates/updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,17 @@ metadata:
{{- include "bt-app.updaterLabels" . | nindent 4 }}
spec:
encryptedData:
SIS_CLASS_APP_ID: AgCsoV0IeDsbQ1CrUN3ngGSSXx0HlW9qOh0074EpHU3YE9if2D8JWlBpGmpAjDaDG3L749PY22d55QtJAgeHihny85IRt/VElWYqjViv12pvKBOQfLhDOzawaYdA0UQpAA6HA3DNS8nhim1O4bdsfgmQS7Y00KpOnMlRsx6yayvaglDCTCMAgjMR5pZJpE8WhTM2PJMPBHBfx9RBJMYuyrHynftF/jF6l6waPKvgz0Np9hrZA3FucWLYs3+KtKrX5XRGHBw6S9rfGv6FBcIIzz8L4+yzI1O0K46UidST1A9ZLsoXBZ8qxW4bRMBM+dDCFLb1sFyUN5Cn5WTcTyeTvGSdp+bfZQidMYstwR3/3pw9GH6IyrRRI9BTGzdDNE8zs2vDBc4lYg4wnv7Fwz3hQCQKqjJqnIeJKUUh+8eL6F7G09jE4dFNNBZx0qoDfbcb2cDKVTGsstrITqZ+ECzrb+E2l0v9dwFUVjYwbtddes2TACLl3m6mxpdkvYSdtUXY5RWzipjWZitdUT8GrPq8UNd6JdxZe8osd9KrEWQA/i73a9tZEYGkiEAoSfXszt4sGGnrWRrcAcbWs9Ng7aPmGh/LytDZz2hlu1+Mm+tkGkkSWheJPdMWDRLF6JvqzOkrlmevVNTnZa2FnDaKPjECoEzpEp8QYhToP35SRfAWM20j2BmsFdinT5OR1wrgKNPNPMpFkrigW93Qlg==
SIS_CLASS_APP_KEY: AgCuJdkuSYGdgfljf83p1L7uI9Xk51pLkTXCxE0mNi3MTUnlKfEDW0JCAGC8ohUx33Ey6FiSs1M9d7TRWPxrqwtOAi9Eg3Lo6trRCAIXgUovTJiahXR3DezE/7wl6PphbiAoFec0x1gGDHGvQYhhuwH31SCUONZjxKrTBL4+gcOpj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gwt4WBA6D3+FvJZGp30/bTrFwsXsf26dVIr6zThWV0K6BBTtc7C35UzRlOivaoeO/hOxD9Z8MTpyqE/FJdnwH6DKiILyIqk6APcF39Rzafc/S1mNEBTd7lGbIRGRqOuj6mvz6jKahPG+PCZ3zf1NWnmaq1B5vFaC21Fj4qF1WJidKzYKpyfZZXEiExE9CPfgj3cUNeTzXetrXe2B1nWwSHZMkK7y1UJ6Rs/6puPsCbRaSNHCDihZ5aYzYsmh9N6una3+1WtrAEif9T5vW2khQQEicwgforkq+N1kLpbGE3+puYXTJ5vyZlIGBzVHfCkAV/1cCia0k8UfHQnY5TDK5oPq3AYx1Mtrl7yeuwzeLVBAflyOMkiN348pXDooR84kp0hJ/ojVwUXiqJVbD0IKkv5LN4bS0F0JFKb3r00qdvf/h940zG1Cx2wLp1sOm7acirtiROxXdTwAOvt0kxKfx85SUH2sX1aqa43ZbXLJ2Bqm27JIVIyqMkVhgOVwk6Iv1uVmRwqWDzZoo9mVSbkxtdHU+2Lw1ze+GT9vFVndxdcaA==
template:
metadata:
annotations:
sealedsecrets.bitnami.com/namespace-wide: "true"
name: {{ include "bt-app.updaterName" . }}-secret
labels:
{{- include "bt-app.updaterLabels" . | nindent 4 }}
{{- include "bt-app.updaterLabels" . | nindent 8 }}
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
name: cloudflare-api-token-stanfurdtime-secret
namespace: bt
spec:
encryptedData:
api-token: AgB3X5mxc19DAkwJFL98Xt0p9f6EZnG3VHmui3mYprtpSIL7x5XeMGFQC+HM/8UhuMvplVVdv3nF9TWiLsDC2ytbKgWXT3M/7aHSgDSg3iFs7i4SQLrUHSU8ORD7SOYv4wJlXn/HgOwA723uHTZ8jAb3HXWov+x/x2lWF0VgWiEfGAFrUaBHVIp3O9QRl0vlAjS3IF5/2m6ABky0IKozwRri7W2wzQs4MapsQYkMoI08pblXsPQvN748yELL/lRPr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41vcu7jo0PYnECAr7bFhvr42IlaLZRtA8bt2q3UAzr8ZFqesk64BcpiKXJvZcA0tNuzM3t9tLKyzVzDHTcVVLzhYjXZbrfxcf+vrr1OCebsEjuK44Fow31/Kmeo0WNMb+ng8jPkZWOw/oqPq4N4F2wbtbCSaoiw2+jBeEaclAY57iZGNeC8NBpSH+PgXXsfpfTeSt+W3N4tzT
template:
metadata:
name: cloudflare-api-token-stanfurdtime-secret
type: Opaque
namespace: bt
1 change: 1 addition & 0 deletions infra/base/templates/issuer.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ /* https://cert-manager.io/docs/configuration/acme/dns01/cloudflare/#api-tokens */ }}
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
Expand Down
19 changes: 9 additions & 10 deletions infra/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ helm repo add metallb https://metallb.github.io/metallb
# BASE INFRASTRUCTURE
# ===================

helm install bt-sealed-secrets bitnami-labs/sealed-secrets --version 2.15.0 --namespace=bt --create-namespace
helm install bt-metallb metallb/metallb --version 0.14.3 --namespace=bt
helm install bt-cert-manager cert-manager/cert-manager --set installCRDs=true --version 1.14.1 --namespace=bt
helm install bt-ingress-nginx ingress-nginx/ingress-nginx --version 4.9.1 --namespace=bt
helm install bt-sealed-secrets bitnami-labs/sealed-secrets --version 2.17.0 --namespace=bt --create-namespace
helm install bt-metallb metallb/metallb --version 0.14.9 --namespace=bt
helm install bt-cert-manager cert-manager/cert-manager --set crds.enabled=true --version 1.16.2 --namespace=bt
helm install bt-ingress-nginx ingress-nginx/ingress-nginx --version 4.12.0 --namespace=bt

helm package ./infra/base --version 1.0.0 --dependency-update
helm push ./base-1.0.0.tgz oci://registry-1.docker.io/octoberkeleytime/bt-base
helm push ./bt-base-1.0.0.tgz oci://registry-1.docker.io/octoberkeleytime
helm install bt-base oci://registry-1.docker.io/octoberkeleytime/bt-base --namespace=bt \
--version=1.0.0

Expand All @@ -28,9 +28,9 @@ helm install bt-base oci://registry-1.docker.io/octoberkeleytime/bt-base --names
# ==========

helm package ./infra/mongo --version 1.0.0 --dependency-update
helm push ./mongo-1.0.0.tgz oci://registry-1.docker.io/octoberkeleytime/bt-mongo
helm push ./bt-mongo-1.0.0.tgz oci://registry-1.docker.io/octoberkeleytime
helm package ./infra/redis --version 1.0.0 --dependency-update
helm push ./redis-1.0.0.tgz oci://registry-1.docker.io/octoberkeleytime/bt-redis
helm push ./bt-redis-1.0.0.tgz oci://registry-1.docker.io/octoberkeleytime

# ==========
# PRODUCTION
Expand Down Expand Up @@ -65,9 +65,8 @@ helm install bt-stage-app oci://registry-1.docker.io/octoberkeleytime/bt-app --n
--set frontend.image.tag=latest \
--set backend.image.tag=latest \
--set host=staging.stanfurdtime.com \
--set mongoUri=mongodb://bt-stage-mongo-mongodb.bt.svc.cluster.local:27017/bt \
--set redisUri=redis://bt-stage-redis-master.bt.svc.cluster.local:6379 \
# TODO(core): change mongoUri to replicaset
--set mongoUri=mongodb://bt-stage-mongo-mongodb-0.bt-stage-mongo-mongodb-headless.bt.svc.cluster.local:27017/bt \
--set redisUri=redis://bt-stage-redis-master.bt.svc.cluster.local:6379

# ==========
# DEVELOPMENT
Expand Down

0 comments on commit 6a3a915

Please sign in to comment.