mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-20 06:31:47 +00:00
Add SealedSecret example to RFC
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
f604d7f342
commit
e51e5df9da
1 changed files with 10 additions and 0 deletions
|
|
@ -136,6 +136,16 @@ specify the conditions that need to be met in order to determine the status of
|
||||||
a custom resource. This enables Flux to query any `.status` field,
|
a custom resource. This enables Flux to query any `.status` field,
|
||||||
besides the standard `Ready` condition, and evaluate it using a CEL expression.
|
besides the standard `Ready` condition, and evaluate it using a CEL expression.
|
||||||
|
|
||||||
|
Example for `SealedSecret` which has a `Synced` condition:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- apiVersion: bitnami.com/v1alpha1
|
||||||
|
kind: SealedSecret
|
||||||
|
inProgress: "metadata.generation != status.observedGeneration"
|
||||||
|
failed: "status.conditions.filter(e, e.type == 'Synced').all(e, e.status == 'False')"
|
||||||
|
current: "status.conditions.filter(e, e.type == 'Synced').all(e, e.status == 'True')"
|
||||||
|
```
|
||||||
|
|
||||||
#### Use Flux dependencies for Kubernetes ClusterAPI
|
#### Use Flux dependencies for Kubernetes ClusterAPI
|
||||||
|
|
||||||
> As a Flux user, I want to be able to use Flux dependencies bases on the
|
> As a Flux user, I want to be able to use Flux dependencies bases on the
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue