Skip to content
imlostincode
ENNL
Deployment kit

astro-k8s-deployment-kit

Shared deploy setup for Astro sites. Fix it once, and every site picks it up on its next update.

UnreleasedYou're reading the docs from main. Things here can change before the next release.Back to the latest release →
examples / main

overlay-staging/secrets.example.yaml

View on GitHub ↗ (opens in a new tab)
yaml
# In a real project this is SOPS-encrypted (secrets.sops.yaml) and listed under
# that name in kustomization.yaml + generator/kustomization.yaml.tmpl.
#
# Generate the htpasswd line with:
#   htpasswd -nbB preview 'some-password'
apiVersion: v1
kind: Secret
metadata:
  name: app-staging-basic-auth
type: Opaque
stringData:
  users: "preview:$2y$05$replace-with-a-real-bcrypt-hash"