[RFC-0003] Add the provider field for OIDC auth
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
**Creation date:** 2022-03-31
|
**Creation date:** 2022-03-31
|
||||||
|
|
||||||
**Last update:** 2022-07-06
|
**Last update:** 2022-08-02
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
@@ -192,16 +192,17 @@ kubectl create secret generic regcert \
|
|||||||
When Flux runs on AKS, EKS or GKE, an IAM role (that grants read-only access to ACR, ECR or GCR)
|
When Flux runs on AKS, EKS or GKE, an IAM role (that grants read-only access to ACR, ECR or GCR)
|
||||||
can be used to bind the `source-controller` to the IAM role.
|
can be used to bind the `source-controller` to the IAM role.
|
||||||
|
|
||||||
Similar to image-reflector-controller
|
```yaml
|
||||||
[auto-login feature](https://fluxcd.io/docs/guides/image-update/#imagerepository-cloud-providers-authentication),
|
spec:
|
||||||
source-controller will expose dedicated flags for each cloud provider:
|
provider: aws
|
||||||
|
|
||||||
```sh
|
|
||||||
--aws-autologin-for-ecr
|
|
||||||
--azure-autologin-for-acr
|
|
||||||
--gcp-autologin-for-gcr
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The provider accepts the following values: `generic`, `aws`, `azure` and `gcp`. When the provider is
|
||||||
|
not specified, it defaults to `generic`. When the provider is set to `aws`, `azure` or `gcp`, the
|
||||||
|
controller will use a specific cloud SDK for authentication purposes. If both `spec.secretRef` and
|
||||||
|
a non-generic provider are present in the definition, the controller will use the static credentials
|
||||||
|
from the referenced secret.
|
||||||
|
|
||||||
### Reconcile artifacts
|
### Reconcile artifacts
|
||||||
|
|
||||||
The `OCIRepository` can be used as a drop-in replacement for `GitRepository` and `Bucket` sources.
|
The `OCIRepository` can be used as a drop-in replacement for `GitRepository` and `Bucket` sources.
|
||||||
|
|||||||
Reference in New Issue
Block a user