Skip to content

Instantly share code, notes, and snippets.

@aliartiza75
Created September 13, 2022 21:01
Show Gist options
  • Save aliartiza75/bccfd9aa1779bc9ebf7e3d2bb857f16c to your computer and use it in GitHub Desktop.
Save aliartiza75/bccfd9aa1779bc9ebf7e3d2bb857f16c to your computer and use it in GitHub Desktop.
Flux CD medium article.
flux-cd/
├── flux-googlechat-alert
│   ├── alert.yaml          # Alert Definition, i.e type of events to filter and information about alert
│   ├── provider.yaml       # Provider Definition, i.e, where alerts will be forwarded.
│   └── secret.yaml         # it holds the url to the google chat space.
├── git-repo
│   ├── git-repo.yaml       # Git repository definition. i.e, url of repository, and branch name etc
│   ├── kustomzation.yaml   # It has info about which Git repository to use, like the one that was created by git-repo.yaml, and Folder to monitor. It detects changes and      
│   │                       # deploy them on cluster. 
│   └── secret.yaml         # It store gitlab access token.
└── image-repo
    ├── image-repo.yaml     # Image repository definition, i.e, url for gitlab container registry that need to be monitored for changes. 
    ├── image-policy.yaml   # Policy regarding how to idenity the latest image tag. current we are using numerical policy. It sort the tags and get the biggest tag numerically. There are alot of other policies too.
    └── image-update-automation.yaml    # It defines an automation process that will update a git repository, based on image policy objects in the same namespace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment