Commit Graph

943 Commits

Author SHA1 Message Date
Stefan Prodan c89374c758
Update source-controller/api to v0.15.4
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-08-05 15:41:07 +03:00
Stefan Prodan fe0f946840
Update dependencies
- k8s.io/* v0.21.3
- controller-runtime v0.9.5
- kubectl 1.21.3

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-08-05 10:45:32 +03:00
Stefan Prodan 85d73f30d9
Merge pull request #400 from fluxcd/sops-kubeconfig
Make the kubeconfig secrets compatible with SOPS
2021-08-05 10:34:13 +03:00
Stefan Prodan 5d1cb91841
Make the kubeconfig secrets compatible with SOPS
Add `values.yaml` to the supported kubeconfig secret key names in order for SOPS to correctly detect the storage format based on the file extension.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-08-04 14:43:33 +03:00
Stefan Prodan 81a4090328
Merge pull request #397 from darkowlzz/rm-util-objectkey
Remove old util ObjectKey
2021-08-01 12:21:25 +03:00
Sunny 930e7d398e
Remove old util ObjectKey
Replace old utility function ObjectKey with controller-runtime's
client.ObjectKeyFromObject.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2021-08-01 04:27:35 +05:30
Stefan Prodan 9d66fc71ba
Merge pull request #394 from makkes/prevent-npes
fix: prevent nil pointer dereference in health checks
2021-07-27 10:18:29 +03:00
Max Jonas Werner 08920d3286
fix: prevent nil pointer dereference in health checks
When checking the health status of each declared resource, kstatus
might return nil for certain resources (for whatever reason). In that
case, this information is now conveyed in the health status event.

https://github.com/fluxcd/kustomize-controller/pull/374

Signed-off-by: Max Jonas Werner <mail@makk.es>
2021-07-26 19:03:46 +02:00
Stefan Prodan 969bd4d2c8
Merge pull request #390 from fluxcd/test-fix
Fix generation conflicts in tests
2021-07-08 18:42:41 +03:00
Stefan Prodan f556cb29f6
Fix generation conflicts in tests
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-07-08 18:21:22 +03:00
Stefan Prodan 6ec3edcb98
Merge pull request #376 from ViBiOh/kustomization_prune_update
Add test for prune toggling
2021-07-08 14:39:47 +03:00
Vincent Boutour 23b0a2d455
Adding test for materializing #375
Signed-off-by: Vincent Boutour <bob@vibioh.fr>
2021-07-07 18:01:57 +02:00
Hidde Beydals d7572972ce
Merge pull request #389 from oliverbaehler/main 2021-07-07 17:38:13 +02:00
Oliver Bähler 6cc6e1d391 More explicit example
Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
2021-07-07 15:06:41 +02:00
Oliver Bähler 69f9ebd1e7 Var substitution opt-in
Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
2021-07-07 14:24:39 +02:00
Stefan Prodan 5376558311
Merge pull request #386 from fluxcd/release-v0.13.2
Release v0.13.2
2021-07-05 14:54:27 +03:00
Stefan Prodan 59ccfb0601
Release v0.13.2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-07-05 14:31:51 +03:00
Stefan Prodan c6fb374804
Merge pull request #385 from fluxcd/alpine-3.14
Update Alpine v3.14 and kubectl v1.21.2
2021-07-05 14:23:18 +03:00
Stefan Prodan 5b2711f943
Update Alpine and kubectl
Update Alpine to v3.14
Update kubectl to v1.21.2

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-07-05 14:09:33 +03:00
Stefan Prodan b7380ab152
Merge pull request #383 from fluxcd/kustomize-v4.2.0
Update controller to kustomize v4.2.0
2021-07-05 10:41:05 +03:00
Stefan Prodan bb71e74d53
Merge pull request #374 from makkes/better-health-check-messaging
feat: make it easier to reason about health check failures
2021-07-05 10:34:15 +03:00
Stefan Prodan 540b5898d3
Merge pull request #384 from jodok/patch-1
fixed typo
2021-07-05 10:18:24 +03:00
Max Jonas Werner bbc4208d1c
feat: make it easier to reason about health check failures
Whenever a health check times out now, the most recently collected
error for each resource will be printed as part of the error message.
This excludes errors for those resources for which no error was
reported in the last update. This is because whenever a timeout
occurs, an error is reported on ALL resources, even those that have
been seen as healthy before.

Also, this commit causes all successfully checked resources to be
omitted in the error event.

Signed-off-by: Max Jonas Werner <mail@makk.es>
2021-07-04 21:51:41 +02:00
Jodok Batlogg d7c45de5ca fixed typo
Signed-off-by: Jodok Batlogg <jodok@batlogg.com>
2021-07-03 00:08:11 +02:00
Stefan Prodan 017c7c15b5
Update controller to kustomize v4.2.0
- sigs.k8s.io/kustomize/api v0.8.11
- sigs.k8s.io/kustomize/kyaml v0.11.0

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-07-02 13:28:20 +03:00
Stefan Prodan 0a435c9a58
Merge pull request #382 from fluxcd/release-0.13.1
Release v0.13.1
2021-06-30 14:15:02 +03:00
Stefan Prodan 1445b7e066
Release v0.13.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-30 13:32:29 +03:00
Stefan Prodan 55bf6fffde
Merge pull request #381 from fluxcd/kubectl-v1.21.1
Update kubectl to v1.21.1
2021-06-30 12:29:50 +03:00
Stefan Prodan 4f4106bfa1
Update kubectl to v1.21.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-30 11:38:54 +03:00
Stefan Prodan 56024c29ad
Merge pull request #380 from fluxcd/e2e-kubernetes-v1.21.1
e2e: Update Kubernetes to v1.21.1
2021-06-29 17:25:01 +03:00
Stefan Prodan f99a04658a
e2e: Update Kubernetes to v1.21.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-29 17:08:54 +03:00
Stefan Prodan 1199d0e205
Merge pull request #377 from JaneLiuL/main
Test kustomization depend on for improve ut
2021-06-28 15:57:13 +03:00
Jane Liu L d72d8f5b2d
Test kustomization depend on for improve ut
Signed-off-by: Jane Liu L <jane.l.liu@ericsson.com>
2021-06-28 20:13:44 +08:00
Jane Liu L 8ade434726
Test kustomization depend on for improve ut
Signed-off-by: Jane Liu L <jane.l.liu@ericsson.com>
2021-06-28 20:04:24 +08:00
Stefan Prodan 9c87a02f42
Merge pull request #378 from fluxcd/fix-ci-kubectl
Fix CI: Override kubebuilder kubectl
2021-06-28 14:11:22 +03:00
Stefan Prodan 4621ef30aa
Fix CI: Override kubebuilder kubectl
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-28 13:40:32 +03:00
Stefan Prodan 8a9e3995da
Merge pull request #370 from fluxcd/fix-kustomize-patch-docs
Add the generic patch field to the API spec docs
2021-06-18 11:08:39 +03:00
Stefan Prodan 2370360c10
Add the generic patch field to the API spec docs
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-18 10:42:34 +03:00
Stefan Prodan 1f2fcea1b9
Merge pull request #367 from fluxcd/yaml-anchors-drop
Add YAML anchors to breaking changes
2021-06-15 14:47:26 +03:00
Stefan Prodan f31b9ca611
Add YAML anchors to breaking changes
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-15 14:25:26 +03:00
Stefan Prodan 90ab001c5e
Merge pull request #366 from fluxcd/release-v0.13.0
Release v0.13.0
2021-06-14 16:54:22 +03:00
Stefan Prodan 9d323aa686
Release v0.13.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-14 16:37:11 +03:00
Stefan Prodan 6672928023
Merge pull request #364 from Kissy/generic-patches
Add support for in-line generic patches to Flux Kustomization API
2021-06-14 14:28:15 +03:00
Stefan Prodan cdabadbb5d
Merge pull request #365 from fluxcd/gc-tests-docs
Document GC checksum annotation
2021-06-14 14:21:53 +03:00
Stefan Prodan 7772a1f679
Document the checksum annotation
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-14 13:49:10 +03:00
Stefan Prodan 24f78af641
Simplify staleness check
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-14 13:45:38 +03:00
Stefan Prodan 2d85398921
Add test for GC disabling
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-14 13:43:05 +03:00
Stefan Prodan f8cac4a35d
Add missing ConfigMap RBAC
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-14 13:41:14 +03:00
Stefan Prodan 2838997fb6
Merge pull request #362 from JaneLiuL/main
Move the GC checksum from labels to annotations
2021-06-14 12:19:45 +03:00
Guillaume Le Biller 14bce3c666
Update pkg/apis/kustomize to v0.2.0
Signed-off-by: Guillaume Le Biller <glebiller@Traveldoo.com>
2021-06-11 16:45:50 +02:00