Skip to content
A manifest of Kubernetes for ykzts.technology.
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
k8s
scripts
LICENSE
README.md
skaffold.yaml

README.md

ytech-infra

Mastodon

$ kubectl create secret generic mastodon-credentials \
  --from-literal=secret-key-base=... --from-literal=otp-secret=... \
  --from-literal=vapid-private-key=... --from-literal=vapid-public-key=...

Cloud SQL

$ kubectl create secret generic cloudsql-instance-credentials \
  --from-file=credentials.json=$(pwd)/credentials.json
$ kubectl create secret generic cloudsql-db-credentials \
  --from-literal=username=mastodon --from-literal=password=...

Redis Labs

$ kubectl create secret generic redislabs-credentials \
  --from-literal=hostname=... --from-literal=port=... --from-literal=password=...

Elastic Cloud

$ kubectl create secret generic elasticcloud-es-credentials \
  --from-literal=hostname=... --from-literal=port=...

Sendgrid

$ kubectl create secret generic sendgrid-smtp-credentials \
  --from-literal=password=...

Cloud Storage

$ kubectl create secret generic cloudstorage-credentials \
  --from-literal=access-key=... --from-literal=secret-key=...
You can’t perform that action at this time.