diff --git a/docs/spec/v1beta2/helmrepositories.md b/docs/spec/v1beta2/helmrepositories.md index 0fd33ed00..f7e1e534e 100644 --- a/docs/spec/v1beta2/helmrepositories.md +++ b/docs/spec/v1beta2/helmrepositories.md @@ -496,7 +496,7 @@ client certificate and the CA certificate respectively, you can generate the required Secret using the `flux create secret tls` command: ```sh -flux create secret tls --tls-key-file=client.key --tls-crt-file=client.crt --ca-crt-file=ca.crt +flux create secret tls example-tls --key-file=client.key --cert-file=client.crt --ca-file=ca.crt ``` Example usage: diff --git a/docs/spec/v1beta2/ocirepositories.md b/docs/spec/v1beta2/ocirepositories.md index 4ef84823c..3255012ac 100644 --- a/docs/spec/v1beta2/ocirepositories.md +++ b/docs/spec/v1beta2/ocirepositories.md @@ -331,7 +331,7 @@ client certificate and the CA certificate respectively, you can generate the required Secret using the `flux create secret tls` command: ```sh -flux create secret tls --tls-key-file=client.key --tls-crt-file=client.crt --ca-crt-file=ca.crt +flux create secret tls example-tls --key-file=client.key --cert-file=client.crt --ca-file=ca.crt ``` Example usage: