refactor: migrar GitLab → Gitea (aulas 10, 11, 13)
- Aula 10: Gitea + Registry + Actions + Runner (substituiu GitLab) - gitea-values.yaml: PostgreSQL standalone, Valkey standalone, ~800Mi RAM - setup.sh/cleanup.sh: namespace gitea, Helm gitea-charts/gitea + actions - README.md: documentação completa com de→para (GitLab/Harbor/Tekton vs Gitea) - Aula 11: ArgoCD (GitOps) — removido GitLab Runner (runner vive na aula-10) - setup.sh: só ArgoCD, integração SSH com Gitea - node-bugado/.gitea/workflows/ci.yml: pipeline convertida - Aula 13: Container Factory — atualizado para Gitea - setup.sh/cleanup.sh: referências GitLab → Gitea - pipelines/postgresql/ci.yml: Gitea Actions workflow - README.md: conexão com act_runner explicada - CLAUDE.md: tabela de aulas atualizada
This commit is contained in:
24
aula-13/k8s/postgresql/secret.yaml
Normal file
24
aula-13/k8s/postgresql/secret.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
# =============================================================================
|
||||
# Secret - PostgreSQL Credentials (Template)
|
||||
# =============================================================================
|
||||
#
|
||||
# IMPORTANTE: Este arquivo é um template.
|
||||
# O setup.sh gera o secret automaticamente com senha aleatória.
|
||||
#
|
||||
# Para criar manualmente:
|
||||
# kubectl create secret generic postgresql-secret \
|
||||
# --from-literal=username=postgres \
|
||||
# --from-literal=password=SUA_SENHA_AQUI \
|
||||
# -n factory
|
||||
#
|
||||
# =============================================================================
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: postgresql-secret
|
||||
labels:
|
||||
app: postgresql
|
||||
type: Opaque
|
||||
stringData:
|
||||
username: postgres
|
||||
password: CHANGE_ME_USE_SETUP_SH
|
||||
Reference in New Issue
Block a user