44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
# EXAMPLE ONLY — do not apply this file.
|
|
# It exists so the manifest shapes are reviewable. Create the real secrets with
|
|
# the commands in docs/deploy.md; never commit real tokens or credentials.
|
|
#
|
|
# kubectl -n fch26-onemanarmy create secret generic cloudflared \
|
|
# --from-literal=TUNNEL_TOKEN='<cloudflare tunnel token>'
|
|
#
|
|
# kubectl -n fch26-onemanarmy create secret generic control-auth \
|
|
# --from-literal=CONTROL_USER='<control user>' \
|
|
# --from-literal=CONTROL_PASS='<strong password>'
|
|
#
|
|
# kubectl -n fch26-onemanarmy create secret docker-registry gitea-regcred \
|
|
# --docker-server=git.noelsabia.dev \
|
|
# --docker-username='<gitea user>' \
|
|
# --docker-password='<read-only package token>'
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: cloudflared
|
|
namespace: fch26-onemanarmy
|
|
type: Opaque
|
|
stringData:
|
|
TUNNEL_TOKEN: "REPLACE_ME"
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: control-auth
|
|
namespace: fch26-onemanarmy
|
|
type: Opaque
|
|
stringData:
|
|
CONTROL_USER: "REPLACE_ME"
|
|
CONTROL_PASS: "REPLACE_ME"
|
|
---
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: gitea-regcred
|
|
namespace: fch26-onemanarmy
|
|
type: kubernetes.io/dockerconfigjson
|
|
stringData:
|
|
.dockerconfigjson: |
|
|
{"auths":{"git.noelsabia.dev":{"username":"REPLACE_ME","password":"REPLACE_ME","auth":"REPLACE_ME"}}}
|