Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stefanprodan/podinfo-deploy
A GitOps workflow for multi-env deployments
https://github.com/stefanprodan/podinfo-deploy
demo gitops kubernetes kustomize
Last synced: 2 months ago
JSON representation
A GitOps workflow for multi-env deployments
- Host: GitHub
- URL: https://github.com/stefanprodan/podinfo-deploy
- Owner: stefanprodan
- License: apache-2.0
- Created: 2020-04-15T11:32:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-10T12:10:36.000Z (over 3 years ago)
- Last Synced: 2024-11-02T08:22:32.562Z (2 months ago)
- Topics: demo, gitops, kubernetes, kustomize
- Size: 63.5 KB
- Stars: 14
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# podinfo-deploy
A GitOps workflow for multi-env deployments with FluxCD [source-controller](https://github.com/fluxcd/source-controller)
and [kustomize-controller](https://github.com/fluxcd/kustomize-controller).Git repository definition:
```yaml
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: GitRepository
metadata:
name: podinfo
namespace: gotk-system
spec:
interval: 1m
url: https://github.com/stefanprodan/podinfo-deploy
ref:
branch: master
```Dev environment kustomization:
```yaml
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: podinfo-dev
namespace: gotk-system
spec:
interval: 1m
path: "./overlays/dev/"
prune: true
sourceRef:
kind: GitRepository
name: podinfo
```Staging environment kustomization:
```yaml
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: podinfo-staging
namespace: gotk-system
spec:
interval: 1m
path: "./overlays/staging/"
prune: true
sourceRef:
kind: GitRepository
name: podinfo
```Git repository tags semver range:
```yaml
apiVersion: source.toolkit.fluxcd.io/v1beta1
kind: GitRepository
metadata:
name: podinfo-releases
namespace: gotk-system
spec:
interval: 5m
url: https://github.com/stefanprodan/podinfo-deploy
ref:
semver: ">=0.0.1"
```Production environment kustomization:
```yaml
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
name: podinfo-production
namespace: gotk-system
spec:
interval: 1m
path: "./overlays/production/"
prune: true
sourceRef:
kind: GitRepository
name: podinfo-releases
```