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
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
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
7772a1f679
Document the checksum annotation
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-06-14 13:49:10 +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
Guillaume Le Biller
b797eac907
Implement generic patches in Kustomization
...
Allow patching multiple resources instead of a single existing one as
StrategicMerge & JSON6902 are forced to target existing named resources.
Signed-off-by: Guillaume Le Biller <glebiller@Traveldoo.com>
2021-06-11 09:04:37 +02:00
Stefan Prodan
4efb8b2314
Release v0.12.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-04-29 11:04:55 +03:00
bob.rohan
a77ea03ec6
Decrypt base64 encoded SOPS encrypted secrets
...
Signed-off-by: Bob Rohan <bob.rohan@hodge.co.uk>
2021-04-28 11:54:25 +01:00
Hidde Beydals
8d304ad130
Document age decryption in spec
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-04-01 15:17:33 +02:00
Stefan Prodan
cb72a77753
Validate the var names before substitution
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-27 12:09:57 +02:00
Stefan Prodan
65cfce2978
Add spec.force to API docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-22 17:36:37 +02:00
Aurel Canciu
729dc9770e
Support recreating objects on immutable field updates
...
Allow passing --force to kubectl apply. Useful when dealing with
immutable field changes in resources.
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2021-02-22 16:59:01 +02:00
Stefan Prodan
401fec6c8d
Allow disabling var substitution for certain resources
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-16 10:40:01 +02:00
Stefan Prodan
0ac1f9e631
Implement var substitution from ConfigMaps and Secrets
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-16 09:20:00 +02:00
Stefan Prodan
acaaafc3e6
Add note about prefixing variables
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-11 18:35:46 +02:00
Stefan Prodan
f694414d6d
Add Drone envsubst install to docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-11 18:17:58 +02:00
Stefan Prodan
f3d9c36691
Add support for variable substitutions
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-11 18:17:53 +02:00
Stefan Prodan
b2cfe6d3f8
Allow disabling of prune on certain resources
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-02-07 14:16:25 +02:00
Hidde Beydals
d7cdeb6d39
Add link to APIExtensions in generated docs
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-04 09:33:34 +01:00
Hidde Beydals
65ceea860e
Document Strategic Merge and JSON 6902 overrides
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-04 09:33:31 +01:00
Hidde Beydals
17a6bff52e
Add Patches{StrategicMerge,JSON6902} fields to API
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-03 20:31:11 +01:00
Hidde Beydals
02de763ad8
Depend on the Kustomize API from `fluxcd/pkg`
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-02-03 20:12:58 +01: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
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
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
848c3f3b59
Release v0.6.3
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2021-01-19 15:44:04 +02:00
Hidde Beydals
69a7e75a91
Make Path an optional field and remove validation
...
As due to secure joins, the requirement on both providing a path
and/or requiring it to be in a certain format offers little value
over the UX experience of not having to provide it when you just
want to reconcile whatever can be found in the root of the source
reference.
Signed-off-by: Hidde Beydals <hello@hidde.co>
2020-12-16 12:44:13 +01:00
Stefan Prodan
b09af484ec
Release v0.5.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-12-11 13:54:43 +02:00
Somtochi Onyekwere
5b3d8df5b5
Add image type to API spec
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2020-12-10 13:23:55 +01:00
Somtochi Onyekwere
3ebf16cbbb
Updates doc with API spec for images
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
2020-12-10 13:23:55 +01:00
Stefan Prodan
962f02ad65
Use cert-manager example for dependsOn docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-29 16:09:29 +02:00
Stefan Prodan
8f7f0d8c8f
Document that KubeConfig takes precedence over ServiceAccountName
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-20 11:34:35 +02:00
Stefan Prodan
0c9170241f
Use ServiceAccountName for impersonation
...
Drop the ServiceAccount field in favour of ServiceAccountName to prevent privilege escalation in multi-tenancy environments.
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-20 10:58:24 +02:00
Aurel Canciu
ac6cc88e29
Refactor to adopt k8s standardized Condition type
...
Updates to use metav1.Condition type and removes references for
deprecated corev1.Condition* constants and uses the new k8s api/meta
helpers in place of the old pkg/apis/meta types.
Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
2020-11-19 19:49:04 +02:00
Paweł Kowalczyk
36909aa2e4
Add docs for excluding non-k8 YAML files in kustomization generation
...
Signed-off-by: Paweł Kowalczyk <kowalczyk.paw@gmail.com>
2020-11-18 10:27:59 +01:00
Stefan Prodan
2ba6252d76
Allow disabling validation
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-12 12:18:04 +02:00
Tomas Virgl
eba1c5e389
docs: minor typo fix
...
Signed-off-by: Tomas Virgl <tomas@virgl.net>
2020-11-08 00:55:00 +01:00
Stefan Prodan
97cef5a84e
Add labels and selector example to docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-11-03 15:44:54 +02:00
Stefan Prodan
72a3aa4d2f
Release v0.2.0
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-29 14:03:06 +02:00
Michael Bridgen
3ca1bf2f16
Cross-reference anything from apis/meta to godoc
...
This means ReconcileRequestStatus is also given a link to the godoc,
as a consolation for not having its field inlined.
2020-10-22 12:02:19 +01:00
Michael Bridgen
b8d71327f7
Use reconcile request annotation helpers
...
Per https://github.com/fluxcd/pkg/issues/39
2020-10-22 11:37:13 +01:00
Hidde Beydals
154560f60e
Improve remote cluster documentation
...
To highlight the fact that it works with just a KubeConfig, and not just
CAPI.
2020-10-20 14:03:53 +02:00
Stefan Prodan
028c368975
Add targeting non-capi clusters to docs
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-16 12:40:17 +03:00
leigh capili
ceb439d13c
Document Kustomization.spec.kubeConfig for Cluster API
2020-10-15 09:44:44 -06:00
Stefan Prodan
4b6ca1dbf4
Add namespace to API docs examples
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
2020-10-13 17:26:10 +03:00
stefanprodan
d15726935a
Set default branch to main
2020-10-05 15:41:20 +03:00
Philip Laine
9e03c57fab
Update health check docs
2020-10-04 12:19:00 +02:00
stefanprodan
1184614239
Set default namespace to gotk-system
2020-10-02 16:24:00 +03:00
stefanprodan
50104826ae
Promote API to v1beta1
2020-09-30 19:10:27 +03:00
stefanprodan
7b8fef2984
Implement `fluxcd/pkg/meta/api` in APIs
2020-09-30 14:01:17 +03:00
stefanprodan
2da8d7ca0c
Add KubeConfig field to API
2020-09-30 01:00:44 +03:00
stefanprodan
45bfe6dfe5
Record last handled reconcile at annotation
2020-09-29 21:14:19 +03:00
stefanprodan
e5e2cd7dcb
Implement namespace overriding
2020-09-29 18:56:24 +03:00
stefanprodan
a0f705ff6e
Add TargetNamespace to API
2020-09-29 15:38:47 +03:00
stefanprodan
1b377ce594
Add S3 source to diagram
2020-09-19 15:26:08 +03:00
stefanprodan
0d6f715efc
Add support for S3 bucket sources
2020-09-19 13:32:38 +03:00
stefanprodan
81e1c38a1f
Add the API package to release docs
2020-09-17 12:24:23 +03:00
stefanprodan
2b9370e658
Normalize the ready condition reasons
...
- use reconciliation instead of apply for condition reasons
- add the reconciliation errors to the condition message
- trim the condition message to 4000 characters
- update the API docs and readme with the new condition reasons
2020-09-17 12:23:50 +03:00
stefanprodan
544e7cf0eb
Use manifests checksum in GC snapshot
2020-09-16 09:34:22 +03:00
Hidde Beydals
118dcbb9d8
api-docs: add overwrites for external packages
2020-09-15 15:19:53 +02:00
Hidde Beydals
e46add39ed
Support dependency references to other namespaces
2020-09-15 15:18:34 +02:00
stefanprodan
3bf2c497cd
Update health check docs
...
Add kstatus compatible kinds to health assessment section
2020-09-14 10:49:59 +03:00
stefanprodan
9363703634
Refactor kstatus health check
2020-09-14 10:48:24 +03:00
Philip Laine
4e45c916e2
Refactor health check completed logic
2020-09-08 23:21:47 +02:00
stefanprodan
2f33ba0ae6
Add secrets decryption section to docs
2020-09-01 18:41:57 +03:00
stefanprodan
86e96a0976
Add decryption optional field to API
2020-09-01 12:35:55 +03:00
Hidde Beydals
1628d827a0
api: rename Unsortable to CircularDependencyError
...
As this better reflects the error's contents.
2020-08-28 10:53:57 +02:00
Hidde Beydals
5905f3a85f
Change CRD domain to 'kustomize.toolkit.fluxcd.io'
...
Due to required domain changes for the helm-controller so that it
can co-exist in a cluster with the Helm Operator, other Toolkit
components are moving to a *.toolklit.fluxcd.io domain too.
2020-07-30 22:40:16 +02:00
stefanprodan
40ff1a7038
Rename apply succeeded reason
2020-07-30 14:48:29 +03:00
Hidde Beydals
e462adbf47
Spec: add KustomizationStatus.ObservedGeneration
2020-07-23 17:14:16 +02:00
stefanprodan
f9a37d6f44
Upgrade CRDs to apiextensions.k8s.io/v1
2020-07-20 12:46:45 +03:00
stefanprodan
2a025c49cb
Implement cross-namespace source references
2020-07-16 10:28:15 +03:00
stefanprodan
f79ac6dd44
Rename syncAt annotation to reconcileAt
...
Use `fluxcd.io/reconcileAt` annotation across all controllers.
2020-07-13 17:14:57 +03:00
stefanprodan
a69af9d57c
Add last attempted revision to status
2020-07-10 09:54:45 +03:00
stefanprodan
d6a01c0ee3
Use tk and gitops-system in docs
2020-07-02 12:20:27 +03:00
stefanprodan
4d3a3a7bae
Emit events for garbage collection
2020-07-02 11:52:03 +03:00
stefanprodan
406ce977a4
Add revision to events metadata
2020-07-02 08:01:06 +03:00
stefanprodan
2ebd5b6450
Implement event recording
...
- emit Kubernetes events for reconciliation actions
- forward events to notification controller
- remove the Profile API/CRD
2020-07-01 20:39:48 +03:00
Hidde Beydals
fefa8f07cb
Generate API documentation
2020-06-19 17:00:10 +02:00
stefanprodan
819240d54b
Add multi-tenancy to spec docs
2020-05-09 12:16:16 +03:00
stefanprodan
8763bbec25
Update GC API spec and examples
2020-05-05 17:19:38 +03:00
stefanprodan
15a53d87d1
Release v0.0.1-alpha.6
2020-05-03 10:56:51 +03:00
stefanprodan
579b770710
spec: Role-based access control
2020-05-01 12:14:48 +03:00
stefanprodan
7dd363544b
docs: add release guide
2020-04-27 12:34:27 +03:00
stefanprodan
4ae08888c8
docs: update status conditions spec
2020-04-27 12:34:05 +03:00
stefanprodan
696658dcc9
Record last applied revision
...
- add LastAppliedRevision field to Status
- set LastAppliedRevision after a successful sync
- add Status section spec
2020-04-24 00:44:32 +03:00
stefanprodan
d9aa74100c
Add backward compatibility section to spec
2020-04-23 20:42:13 +03:00
stefanprodan
75f659d9e8
Add example to controller spec
2020-04-23 17:41:19 +03:00
stefanprodan
51f07944c1
Add controller specification doc
2020-04-23 15:48:13 +03:00
stefanprodan
73e09ac1f4
Add pipeline diagram
2020-04-23 13:00:17 +03:00
stefanprodan
b88626c0cc
Generate label transformers for the prune selectors
2020-04-23 12:52:35 +03:00
stefanprodan
da1ad5b642
Add generate flag to Kustomization API
2020-04-22 20:33:38 +03:00
stefanprodan
9c1ec256c1
Add profile specification to API docs
2020-04-21 17:56:49 +03:00
stefanprodan
00aff9c29f
Add alerting section to docs
2020-04-21 14:43:14 +03:00
stefanprodan
9430dd5228
Add CD pipeline diagram to docs
2020-04-20 16:57:46 +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
stefanprodan
90157e3c77
Add usage docs
2020-04-15 17:26:34 +03:00