You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-arc/kubernetes/tutorial-use-gitops-flux2.md
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -807,20 +807,20 @@ If you use a `bucket` source instead of a `git` source, here are the bucket-spec
807
807
|`--bucket-insecure`| Boolean | Communicate with a `bucket` without TLS. If not provided, assumed false; if provided, assumed true. |
808
808
809
809
### Local secret for authentication with source
810
-
You can use a local Kubernetes secret for authentication with the`git` or `bucket` source.
810
+
You can use a local Kubernetes secret for authentication with a`git` or `bucket` source. The local secret must contain all of the authentication parameters needed for the source and must be created in the same namespace as the Flux configuration.
811
811
812
812
| Parameter | Format | Notes |
813
813
| ------------- | ------------- | ------------- |
814
814
|`--local-auth-ref``--local-ref`| String | Local reference to a Kubernetes secret in the Flux configuration namespace to use for authentication with the source. |
815
815
816
-
For HTTPS authentication, you create a secret (in the same namespace where the Flux configuration will be) with the username and password/key:
816
+
For HTTPS authentication, you create a secret with the `username` and `password`:
For SSH authentication, you create a secret (in the same namespace where the Flux configuration will be) with both the `identity` and `known_hosts` fields:
823
+
For SSH authentication, you create a secret with the `identity` and `known_hosts` fields:
824
824
825
825
```console
826
826
kubectl create ns flux-config
@@ -832,6 +832,11 @@ For both cases, when you create the Flux configuration, use `--local-auth-ref my
>If you need Flux to access the source through your proxy, you'll need to update the Azure Arc agents with the proxy settings. For more information, see [Connect using an outbound proxy server](./quickstart-connect-cluster.md?tabs=azure-cli#4a-connect-using-an-outbound-proxy-server).
0 commit comments