Files
trade-deploy/README.md

25 lines
694 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# trade-deploy
Repo na manifesty GitOps (pull) dla projektu `trade` na k3s.
Założenie: obrazy są budowane/pushowane przez CI, a klaster (Argo CD/Flux) sam pobiera „desired state” z tego repo.
## Struktura
- `kustomize/base/` wspólne zasoby (bez sekretów)
- `kustomize/overlays/staging/` staging (`namespace: trade-staging`)
- `kustomize/overlays/prod/` prod (`namespace: trade-prod`)
## Szybki test (bez Argo CD)
```bash
kubectl apply -k kustomize/overlays/staging
kubectl apply -k kustomize/overlays/prod
```
## Argo CD
Przykładowa `Application` jest w `bootstrap/argocd/application-trade-staging.yaml`.
Uwaga: sekretów (tokeny/hasła) nie trzymamy w tym repo.