mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
cli: fix azure config warning message (#1902)
This commit is contained in:
parent
3a54ca91a7
commit
9463d6fb27
@ -24,7 +24,7 @@ To learn which Kubernetes versions are supported by a particular CLI, run [const
|
|||||||
## Migrate the configuration
|
## Migrate the configuration
|
||||||
|
|
||||||
The Constellation configuration file is located in the file `constellation-conf.yaml` in your workspace.
|
The Constellation configuration file is located in the file `constellation-conf.yaml` in your workspace.
|
||||||
Refer to the [migration reference](../reference/config-migration.md) to check if you need to update fields in your configuration file.
|
Refer to the [migration reference](../reference/migration.md) to check if you need to update fields in your configuration file.
|
||||||
Use [`constellation config migrate`](../reference/cli.md#constellation-config-migrate) to automatically update an old config file to a new format.
|
Use [`constellation config migrate`](../reference/cli.md#constellation-config-migrate) to automatically update an old config file to a new format.
|
||||||
|
|
||||||
## Check for upgrades
|
## Check for upgrades
|
||||||
|
@ -254,7 +254,7 @@ const sidebars = {
|
|||||||
{
|
{
|
||||||
type: 'doc',
|
type: 'doc',
|
||||||
label: 'Configuration migrations',
|
label: 'Configuration migrations',
|
||||||
id: 'reference/config-migration',
|
id: 'reference/migration',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'doc',
|
type: 'doc',
|
||||||
|
@ -31,7 +31,7 @@ To learn which Kubernetes versions are supported by a particular CLI, run [const
|
|||||||
## Migrate the configuration
|
## Migrate the configuration
|
||||||
|
|
||||||
The Constellation configuration file is located in the file `constellation-conf.yaml` in your workspace.
|
The Constellation configuration file is located in the file `constellation-conf.yaml` in your workspace.
|
||||||
Refer to the [migration reference](../reference/config-migration.md) to check if you need to update fields in your configuration file.
|
Refer to the [migration reference](../reference/migration.md) to check if you need to update fields in your configuration file.
|
||||||
Use [`constellation config migrate`](../reference/cli.md#constellation-config-migrate) to automatically update an old config file to a new format.
|
Use [`constellation config migrate`](../reference/cli.md#constellation-config-migrate) to automatically update an old config file to a new format.
|
||||||
|
|
||||||
## Check for upgrades
|
## Check for upgrades
|
||||||
|
@ -231,7 +231,7 @@
|
|||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
"label": "Configuration migrations",
|
"label": "Configuration migrations",
|
||||||
"id": "reference/config-migration"
|
"id": "reference/migration"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "doc",
|
"type": "doc",
|
||||||
|
@ -421,8 +421,8 @@ func New(fileHandler file.Handler, name string, _ attestationconfigapi.Fetcher,
|
|||||||
if c.Provider.Azure != nil &&
|
if c.Provider.Azure != nil &&
|
||||||
(c.Provider.Azure.AppClientID != "" || c.Provider.Azure.ClientSecretValue != "") {
|
(c.Provider.Azure.AppClientID != "" || c.Provider.Azure.ClientSecretValue != "") {
|
||||||
// Deprecation warning for old auth method
|
// Deprecation warning for old auth method
|
||||||
fmt.Fprintf(os.Stderr, "WARNING: Using a service principal for authentication is deprecated and will be removed in an upcoming version.")
|
fmt.Fprintf(os.Stderr, "WARNING: Using a service principal for authentication is deprecated and will be removed in an upcoming version.\n")
|
||||||
fmt.Fprintf(os.Stderr, " Migrate to using a user assigned managed identity by following the migration guide: https://docs.edgeless.systems/constellation/reference/migration.")
|
fmt.Fprintf(os.Stderr, " Migrate to using a user assigned managed identity by following the migration guide: https://docs.edgeless.systems/constellation/reference/migration.\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
return c, c.Validate(force)
|
return c, c.Validate(force)
|
||||||
|
Loading…
Reference in New Issue
Block a user