Refer to the main repository.
Refer to the main repository.
Refer to the main repository.
Sealing secrets can be done with one single instruction:
$ (
ENV="dev"
basedir="$(pwd)/.kustomization"
cd "${basedir}/overlays/${ENV}/"
kustomize build secrets/ |
yq e 'select(.metadata.name=="'ticket-api'")' - |
kubeseal > secrets/sealed/base.yaml
kustomize build secrets/ |
yq e 'select(.metadata.name=="'ticket-api-db'")' - |
kubeseal > secrets/sealed/db.yaml
)
Refer to the main repository.
Upon following those steps, the pods
should be running (or about to). An example
output with default settings:
$ kubectl get pods
NAME READY STATUS RESTARTS ...
ticket-api-XXX-XXX 1/1 Running 0 ...
ticket-api-XXX-XXX 1/1 Running 0 ...
ticket-bridge 1/1 Running 0 ...