mirror of
https://github.com/psviderski/uncloud.git
synced 2026-11-10 04:34:17 +00:00
docs(caddy): update description for 'uc caddy cert ls' command
This commit is contained in:
@@ -17,6 +17,7 @@ import (
|
||||
"github.com/psviderski/uncloud/internal/cli"
|
||||
"github.com/psviderski/uncloud/internal/cli/completion"
|
||||
"github.com/psviderski/uncloud/internal/cli/tui"
|
||||
"github.com/psviderski/uncloud/internal/version"
|
||||
"github.com/psviderski/uncloud/pkg/api"
|
||||
"github.com/psviderski/uncloud/pkg/client"
|
||||
"github.com/spf13/cobra"
|
||||
@@ -35,10 +36,13 @@ func NewListCommand() *cobra.Command {
|
||||
Short: "List certificates in cluster storage for Caddy.",
|
||||
Long: `List certificates stored in the Uncloud cluster storage for Caddy.
|
||||
|
||||
Caddy must use the Uncloud storage module (https://github.com/unlabs-dev/caddy-uncloud)
|
||||
configured with 'storage uncloud' in the global options for its certificates to appear here.
|
||||
Caddy uses cluster storage by default. Certificates don't appear here if Caddy uses local storage,
|
||||
for example, if it runs with a custom global config without 'storage uncloud' or was deployed with
|
||||
uc v0.21.0 or earlier and not upgraded.
|
||||
|
||||
This inventory does not check whether Caddy currently serves or trusts a certificate.`,
|
||||
This inventory does not check whether Caddy currently serves or trusts a certificate.
|
||||
|
||||
See ` + version.DocsURL + `/concepts/ingress/cluster-storage-for-caddy for details.`,
|
||||
Args: cobra.NoArgs,
|
||||
RunE: func(cmd *cobra.Command, _ []string) error {
|
||||
uncli := cmd.Context().Value("cli").(*cli.CLI)
|
||||
|
||||
@@ -6,11 +6,14 @@ List certificates in cluster storage for Caddy.
|
||||
|
||||
List certificates stored in the Uncloud cluster storage for Caddy.
|
||||
|
||||
Caddy must use the Uncloud storage module (https://github.com/unlabs-dev/caddy-uncloud)
|
||||
configured with 'storage uncloud' in the global options for its certificates to appear here.
|
||||
Caddy uses cluster storage by default. Certificates don't appear here if Caddy uses local storage,
|
||||
for example, if it runs with a custom global config without 'storage uncloud' or was deployed with
|
||||
uc v0.21.0 or earlier and not upgraded.
|
||||
|
||||
This inventory does not check whether Caddy currently serves or trusts a certificate.
|
||||
|
||||
See https://uncloud.run/docs/concepts/ingress/cluster-storage-for-caddy for details.
|
||||
|
||||
```
|
||||
uc caddy cert ls [flags]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user