Skip to content

Commit

Permalink
fix(docs): update deprecated gcloud command
Browse files Browse the repository at this point in the history
  • Loading branch information
ybelMekk committed Sep 11, 2023
1 parent 9832e91 commit 32e1072
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ docker-compose up --detach --build && open localhost:8080
### First, ensure you're logged into GCP

```shell
gcloud auth login --update-adc
gcloud auth application-default login
```

#### Then, run `terraform`
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/commands/kubeconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Create a kubeconfig file for connecting to available clusters for you.
This requires that you have the gcloud command line tool installed, configured and logged in.
You can log in with `gcloud auth login --update-adc`.
You can log in with `gcloud auth application-default login`.

```bash
nais kubeconfig
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/commands/postgres.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ nais postgres proxy --context dev-gcp --namespace dreamteam
Run the following command first before running any of the other commands:

```
gcloud auth login --update-adc
gcloud auth application-default login
```

## prepare
Expand Down
2 changes: 1 addition & 1 deletion docs/device/install-tenant.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,6 @@ And otherwise: Just be nais.
1. Install `nais-cli` by following the [installation instructions](/cli/install.md).
1. Install `gcloud` by following the [installation instructions](https://cloud.google.com/sdk/docs/install).
1. Install `kubectl` by following the [installation instructions](https://kubernetes.io/docs/tasks/tools/install-kubectl/).
1. Login to gcloud by running `gcloud auth login --update-adc`.
1. Login to gcloud by running `gcloud auth application-default login`.
1. Run `nais naas kubeconfig` to generate a kubeconfig for all NAIS clusters in the default directory (`~/.kube/config`).
- If you want to generate the kubeconfig in a different directory, you can specify the environment variable `KUBECONFIG` to point to the desired location.
2 changes: 1 addition & 1 deletion docs/guides/application.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ gcloud auth configure-docker europe-north1-docker.pkg.dev
### Step 6.2: Google login

```bash
gcloud auth login --update-adc
gcloud auth application-default login
```

### Step 6.3: Tag your image
Expand Down

0 comments on commit 32e1072

Please sign in to comment.