Commit Graph

943 Commits

Author SHA1 Message Date
Stefan Prodan d910238d59
Merge pull request #260 from splushii/validation-impersonation
Support impersonation for validation
2021-01-30 16:35:27 +02:00
Christian Hernvall d0f2dc6e4a
Support impersonation for validation
Signed-off-by: Christian Hernvall <c.hernvall@yubico.com>
2021-01-29 14:56:45 +01:00
Stefan Prodan 0adfca7553
Merge pull request #259 from fluxcd/release-v0.7.2
Release v0.7.2
2021-01-26 11:21:42 +02:00
Stefan Prodan fe61bcf391
Release v0.7.2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-26 11:06:33 +02:00
Stefan Prodan d22f1c22a3
Update Alpine to 3.13
Fix user group assignment

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-26 11:03:46 +02:00
Stefan Prodan 9ad68d952d
Merge pull request #258 from nairb774/priceless_meitner
impersonation: Clear config.BearerTokenFile when setting BearerToken.
2021-01-26 10:22:17 +02:00
Brian Atkinson 2ca0edcf92 impersonation: Clear config.BearerTokenFile when setting BearerToken.
When running in a cluster, the BearerTokenFile is set to point to
`/var/run/secrets/kubernetes.io/serviceaccount/token` where the service
account's token is auto-mounted. If this value is not cleared, the
setting of the BearerToken field will have no effect. Relevant
documentation:
https://pkg.go.dev/k8s.io/client-go@v0.20.2/rest#Config.BearerTokenFile

Signed-off-by: Brian Atkinson <brian@atkinson.mn>
2021-01-25 15:14:35 -08:00
Stefan Prodan 2d38de8779
Merge pull request #257 from fluxcd/release-v0.7.1
Release v0.7.1
2021-01-25 17:28:20 +02:00
Stefan Prodan 119ec4bf50
Release v0.7.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-25 17:09:45 +02:00
Stefan Prodan 31690a6aa1
Merge pull request #256 from fluxcd/fix-retry
Fix reconciliation retry scheduler
2021-01-25 13:31:46 +02:00
Stefan Prodan 100d362ce7
Fix reconciliation retry scheduler
Log the reconciliation error instead of returning it, so that controller-runtime doesn't requeue immediately. Reconciliation failures should be scheduled at the specified retry interval.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-25 13:17:38 +02:00
Stefan Prodan 62972bec54
Merge pull request #251 from fluxcd/release-v0.7.0
Release v0.7.0
2021-01-22 17:38:15 +02:00
Stefan Prodan b158f28382
Release v0.7.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-22 17:24:23 +02:00
Stefan Prodan 89017ca9cc
Merge pull request #250 from fluxcd/retry-interval
Allow failed reconciliations to be scheduled at a different interval
2021-01-22 17:06:22 +02:00
Stefan Prodan 0e0277aaef
Update RetryInterval description
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-22 16:22:37 +02:00
Stefan Prodan e5c93965a5
Add reconciliation unit test
Verify that objects are create in cluster and labeled accordingly

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-22 15:52:19 +02:00
Stefan Prodan dfba88ccc1
Requeue a failed reconciliation based on retry interval
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-22 15:50:45 +02:00
Stefan Prodan 4df56cb7ab
Add RetryInterval as optional field to API
The spec.retryInterval is the interval at which to retry a previously failed reconciliation.
When not specified, it defaults to the spec.interval value.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-22 15:48:28 +02:00
Stefan Prodan ba979afdd7
Merge pull request #249 from fluxcd/fix/test-kubeconfig
Specify kubeconfig in tests
2021-01-22 14:50:55 +02:00
Philip Laine 26a46c9855 Specify kubeconfig in tests
Signed-off-by: Philip Laine <philip.laine@gmail.com>
2021-01-22 12:50:04 +01:00
Stefan Prodan 2a2ca32e7f
Merge pull request #248 from fluxcd/source-controller/api-v0.7.0
Update source-controller/api to v0.7.0
2021-01-21 19:57:23 +02:00
Stefan Prodan 95cf7ddba4
Update source-controller/api to v0.7.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-21 18:37:40 +02:00
Stefan Prodan 360a9ec612
Merge pull request #247 from fluxcd/flux-runtime-v0.8.0
Update fluxcd/pkg/runtime to v0.8.0
2021-01-21 13:47:39 +02:00
Stefan Prodan 62a764a28e
Use the object reference type from fluxcd/pkg/meta
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-21 13:24:32 +02:00
Stefan Prodan 9a7185e3c3
Update fluxcd/pkg/runtime to v0.8.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-21 13:08:41 +02:00
Stefan Prodan 00255603bd
Merge pull request #245 from fluxcd/release-v0.6.3
Release v0.6.3
2021-01-19 16:26:11 +02:00
Stefan Prodan 848c3f3b59
Release v0.6.3
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-19 15:44:04 +02:00
Stefan Prodan 3a09ac62ec
Merge pull request #241 from fluxcd/kustomize/api-v0.7.2
Update kustomize/api to v0.7.2 and disable kyaml
2021-01-19 12:22:45 +02:00
Stefan Prodan 085588b632
Disable kyaml
Workaround for upstream bug: https://github.com/kubernetes-sigs/kustomize/issues/3446

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-18 14:14:23 +02:00
Stefan Prodan 7859a639ed
Update kustomize/api to v0.7.2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-17 22:00:51 +02:00
Stefan Prodan 276c901531
Merge pull request #240 from fluxcd/k8s.io/api-v0.20.2
Update Kubernetes packages to v1.20.2
2021-01-16 16:10:56 +02:00
Stefan Prodan d58bff0fe6
Update Kubernetes packages to v1.20.2
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-16 15:53:45 +02:00
Hidde Beydals 3463b969b6
Merge pull request #239 from fluxcd/release-v0.6.2
Release v0.6.2
2021-01-15 16:11:36 +01:00
Hidde Beydals a4b61edb1a Release v0.6.2
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-15 15:54:37 +01:00
Hidde Beydals 80c216921f
Merge pull request #238 from fluxcd/accept-all-kustomization-filenames
Look for all accepted Kustomization filenames
2021-01-15 15:48:54 +01:00
Hidde Beydals 59c24e7d38 Look for all accepted Kustomization filenames
Before this commit we only checked if a `kustomization.yaml` existed at
the root of the given directory, this caused problems when people for
example used `.yml` as the extension, as the generated
`kustomization.yaml` would conflict with the `.yml` file.

After this commit all recognized Kustomization filenames as listed by
Kustomize itself are accepted, including files _without_ an extension
(`Kustomization`).

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-15 15:31:20 +01:00
Hidde Beydals ecff7ea4e0
Merge pull request #235 from fluxcd/release-v0.6.1
Release v0.6.1
2021-01-14 18:52:25 +01:00
Hidde Beydals 04a4f46a54 Release v0.6.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-14 15:30:29 +01:00
Hidde Beydals 0f6129b3c8
Merge pull request #234 from fluxcd/upgrade-runtime-v0.6.1 2021-01-14 12:58:55 +01:00
Hidde Beydals 49dbba4d7a Upgrade source-controller API to v0.6.1
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-14 12:44:15 +01:00
Hidde Beydals c6353b4afd Upgrade runtime package to v0.6.2
To include a bug fix to the `ReconcilateAtChangedPredicate`
and renaming to `ReconcileRequestedPredicate`.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-01-14 12:34:10 +01:00
Stefan Prodan c7f7fda0d9
Merge pull request #233 from playertwo/main
Add QPS and Burst kube api client parameters as CLI arguments
2021-01-13 17:40:56 +02:00
playertwo 51237cae00 Add QPS and Burst kube api client parameters as CLI arguments
Signed-off-by: playertwo <842517+playertwo@users.noreply.github.com>
2021-01-13 18:10:12 +03:00
Stefan Prodan 5356194f5a
Merge pull request #232 from fluxcd/release-v0.6.0
Release v0.6.0
2021-01-12 15:32:57 +02:00
Stefan Prodan 675ba9a033
Release v0.6.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-12 15:17:45 +02:00
Stefan Prodan 786a620515
Merge pull request #231 from fluxcd/source-controller/api-v0.6.0
Update source API and kubectl
2021-01-12 14:36:23 +02:00
Stefan Prodan eb17062fe6
Update e2e tests to source-controller v0.6.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-12 14:21:03 +02:00
Stefan Prodan e86528f3bc
Update kubectl to v1.20.1
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-12 13:46:13 +02:00
Stefan Prodan ac74d002cc
Update source-controller/api to v0.6.0
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-12 13:45:49 +02:00
Hidde Beydals c328b51cac
Merge pull request #230 from fluxcd/multi-arch-image
Publish as single multi-arch Docker image
2021-01-11 13:42:05 +01:00