docs(cluster-config): Correct term in cluster config doc
Including external variables does not work. You must import them. This change corrects the External Variables section of the cluster-config README. Signed-off-by: Vincent Ambo <tazjin@google.com>
This commit is contained in:
parent
db30770101
commit
98f8b660e2
1 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@ This field is **required**.
|
||||||
|
|
||||||
As mentioned above, extra variables can be loaded from additional YAML or JSON files. Assuming you
|
As mentioned above, extra variables can be loaded from additional YAML or JSON files. Assuming you
|
||||||
have a file called `test-secrets.yaml` which contains variables that should be shared between a `test`
|
have a file called `test-secrets.yaml` which contains variables that should be shared between a `test`
|
||||||
and `dev` cluster, you could include it in your context as such:
|
and `dev` cluster, you could import it in your context as such:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# test-secrets.yaml:
|
# test-secrets.yaml:
|
||||||
|
@ -92,12 +92,12 @@ mySecretVar: foo-bar-12345
|
||||||
|
|
||||||
# test-cluster.yaml:
|
# test-cluster.yaml:
|
||||||
context: k8s.test.mydomain.com
|
context: k8s.test.mydomain.com
|
||||||
include:
|
import:
|
||||||
- test-secrets.yaml
|
- test-secrets.yaml
|
||||||
|
|
||||||
# dev-cluster.yaml:
|
# dev-cluster.yaml:
|
||||||
context: k8s.dev.mydomain.com
|
context: k8s.dev.mydomain.com
|
||||||
include:
|
import:
|
||||||
- test-secrets.yaml
|
- test-secrets.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue