Commit Graph

943 Commits

Author SHA1 Message Date
Stefan Prodan 0542d1156f
Merge pull request #10 from fluxcd/docs-pipeline
Add CD pipeline diagram to docs
2020-04-20 17:51:58 +03:00
stefanprodan 9430dd5228 Add CD pipeline diagram to docs 2020-04-20 16:57:46 +03:00
Stefan Prodan cd6ecfcab7 Merge pull request #9 from fluxcd/release-v0.0.1-alpha.1
Release v0.0.1-alpha.1
2020-04-20 15:47:57 +03:00
stefanprodan 4afc5ecd88 Release v0.0.1-alpha.1 2020-04-20 15:11:11 +03:00
Stefan Prodan 73e1f52511
Merge pull request #7 from fluxcd/spec-v1alpha1
Kustomize API specification v1alpha1
2020-04-20 14:41:51 +03:00
stefanprodan 91fa7b856d Add health checks and dependencies to API spec 2020-04-20 14:28:53 +03:00
stefanprodan 759fd5d6f5 Kustomize API specification v1alpha1 2020-04-19 19:46:42 +03:00
Stefan Prodan d3ac074481
Merge pull request #8 from fluxcd/health-check
Introduce health assessment and dependencies between kustomizations
2020-04-19 19:45:34 +03:00
stefanprodan 9f69e09116 Add dependencies e2e test 2020-04-19 18:51:09 +03:00
stefanprodan fe88706613 Introduce dependencies between kustomizations
- add DependsOn field to API
- implement ordered apply of kustomizations based on dependencies and readiness status
- retry execution every half a minute for kustomizations with dependencies that do not meet the ready condition
- add interdependent kustomizations to config testdata
2020-04-19 18:27:32 +03:00
stefanprodan b10a0fee41 Remove all API resource on object deletion 2020-04-19 18:08:18 +03:00
stefanprodan 508b7cca6a Refactor controller sync
- extract sync operations to dedicated functions
- add health check failed reason
2020-04-19 11:04:05 +03:00
stefanprodan 8fd0d45916 Add timeout to API
- add timeout field to API (defaults to interval duration)
- set timeout for validation, apply and heath check operations
- set concurrent reconciles to 4 (avoid health checks from delaying other operations)
2020-04-19 09:44:32 +03:00
stefanprodan 0dae17ffd6 Introduce health assessment
- add health checks to API
- implement rollout status check
2020-04-19 01:28:58 +03:00
Stefan Prodan f6e7f17bbe
Merge pull request #6 from fluxcd/validation
Introduce validation strategies and suspended execution
2020-04-18 19:37:05 +03:00
stefanprodan 1f8a405e00 Add security context to deployment 2020-04-18 19:06:57 +03:00
stefanprodan cdfda26a4e Update kubectl to 1.18.2 2020-04-18 18:20:06 +03:00
stefanprodan a3b8bcb310 Allow kustomize execution to be suspended 2020-04-18 18:16:20 +03:00
stefanprodan 3f50c71af4 Introduce validation
- add validation field to API
- perform dry-run apply
- add validation strategies to docs
2020-04-18 14:14:51 +03:00
Stefan Prodan 1d39321395
Merge pull request #5 from fluxcd/log-format
Introduce JSON logging
2020-04-18 11:35:21 +03:00
stefanprodan 6d28f7c9b2 Introduce JSON logging
- add JSON log format cmd flag
- format apply output as a map of object/operation
- add apply logs to docs
2020-04-18 11:11:44 +03:00
Stefan Prodan 807b7cb042
Merge pull request #4 from fluxcd/e2e-tests
Add e2e tests
2020-04-17 21:16:40 +03:00
stefanprodan 58846979bc Trigger sync on artifact creation 2020-04-17 19:50:17 +03:00
stefanprodan b500778ccc Copy internal packages for container build 2020-04-17 15:30:13 +03:00
stefanprodan c21e0e6b1f Add GitHub actions release workflow 2020-04-17 14:20:25 +03:00
stefanprodan e0a1e2ea27 Add e2e tests
- build and deploy kustomize-controller
- deploy source-controller
- apply sample kustomizations and git repositories
- check that kustomization apply was successful
2020-04-17 14:14:26 +03:00
Stefan Prodan e2945e6ca8
Merge pull request #3 from fluxcd/garbage-collection
Implement garbage collection
2020-04-17 14:00:28 +03:00
stefanprodan eee47333cf Implement garbage collection
- add GarbageCollect predicate
- remove the Kubernetes objects previously applied on the cluster, based on the prune label select
- add garbage collection spec to docs
2020-04-17 13:25:36 +03:00
Stefan Prodan c1cb216262
Merge pull request #2 from fluxcd/lock-kustomization
Add locking to kustomization apply
2020-04-17 11:21:58 +03:00
stefanprodan 681349f425 Set apply timeout to interval duration 2020-04-17 11:15:39 +03:00
stefanprodan 9f7d995577 Add locking to kustomization apply 2020-04-17 10:30:40 +03:00
Stefan Prodan 81a65474d4
Merge pull request #1 from fluxcd/source-interface
Use Source interface instead of Git concrete type
2020-04-16 18:44:49 +03:00
stefanprodan c564555eb0 Use Source interface instead of Git concrete type
- use TypedLocalObjectReference instead of LocalObjectReference for referencing a source
- update docs for GitRepository kind
- update source API to 0.0.1-alpha.1
2020-04-16 18:30:18 +03:00
stefanprodan 21309c3bf5 Add revision change behavior to docs 2020-04-16 10:41:07 +03:00
stefanprodan ee74f8e329 Trigger kustomization apply on source changes
- detect revision changes in Git repositories
- index kustomizations based on source
- trigger kustomizations on revision changes
2020-04-16 10:40:28 +03:00
stefanprodan eb7fdfe98d Add production deployment example 2020-04-15 18:28:42 +03:00
stefanprodan 47f0abc52c Add GitOps pipeline example to docs 2020-04-15 17:56:39 +03:00
stefanprodan 90157e3c77 Add usage docs 2020-04-15 17:26:34 +03:00
stefanprodan a018533d25 Add deploy and build manifests 2020-04-15 15:23:43 +03:00
stefanprodan 17ec746136 Implement kustomization reconciler
- fetch artifact from source controller based on the referenced Git repository
- run kustomize build for the specified path
- apply kustomization on cluster
- prune objects based on label selector
2020-04-15 15:20:21 +03:00
stefanprodan a3d9a8876a Introduce kustomization API 2020-04-15 15:15:31 +03:00
stefanprodan 3df6bfebfa Init controller with kubebuilder 2020-04-15 09:58:33 +03:00
Stefan Prodan 62fc0042a8
Initial commit 2020-04-15 08:57:39 +03:00