~sbaildon/dev_cluster

ref: us-east dev_cluster/bootstrap.sh -rwxr-xr-x 347 bytes
326d6f3b — builds.sr.ht plated/b22c38f 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -ex

SECRETS=flux/secrets.yaml

function restore()
{
	git restore $SECRETS
}

trap restore EXIT

git restore $SECRETS
sops --decrypt --in-place $SECRETS
kustomize build flux | kubectl apply -f -
git restore $SECRETS

kubectl -n flux-system wait --for=condition=available --timeout=60s --all deployments

kubectl apply -f state.yaml