Config and secret generation
Application layer
Described under Architecture -> Configurations and Secrets
Serets layer
Infrastructure layer template
---
secrets:
common:
postgresql:
default: "pgsql://user:{{password}}@tcp(localhost:5555)/dbname"
mariadb:
default: "mysql://username:{{password}}@host:port/dbname?params"
redis:
default: "redis://host:port/20"
some_another_redis_cluster: "redis://host:port/20"
Создание сервиса:
Создаем репу
Создаем проект и пушим в репу
При деплое смотри что нет чарта
Запускаем генерацию чарта
Смотри по зависимостя сервиса и запрашиваем креды
Генерируем секрет (https://github.com/bitnami-labs/sealed-secrets#usage)
Деплоим
Сервис для создания пользователей в базе