File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ metadata:
368
368
namespace: default
369
369
spec:
370
370
interval: 5m0s
371
- url: oci://ghcr.io/stefanprodan/charts
371
+ url: oci://ghcr.io/my-user/my-private-repo
372
372
type: "oci"
373
373
secretRef:
374
374
name: oci-creds
@@ -383,6 +383,16 @@ stringData:
383
383
password: 123456
384
384
` ` `
385
385
386
+ For OCI Helm repositories, Kubernetes secrets of type `docker-registry` are also supported.
387
+ It is possible to create one such secret with the following fields :
388
+
389
+ ` ` ` yaml
390
+ flux create secret oci ghcr-auth \
391
+ --url=ghcr.io \
392
+ --username=flux \
393
+ --password=${GITHUB_PAT}
394
+ ` ` `
395
+
386
396
# ### TLS authentication
387
397
388
398
**Note:** TLS authentication is not yet supported by OCI Helm repositories.
You can’t perform that action at this time.
0 commit comments