Rename KUBECONFIG_FILE to KUBECONFIG

This commit is contained in:
Lin Jen-Shin 2017-07-06 15:55:40 +08:00
parent ef7deb18df
commit e7acc88156
4 changed files with 4 additions and 4 deletions

View file

@ -102,7 +102,7 @@ class KubernetesService < DeploymentService
{ key: 'KUBE_URL', value: api_url, public: true },
{ key: 'KUBE_TOKEN', value: token, public: false },
{ key: 'KUBE_NAMESPACE', value: actual_namespace, public: true },
{ key: 'KUBECONFIG_FILE', value: config, public: false, file: true }
{ key: 'KUBECONFIG', value: config, public: false, file: true }
]
if ca_pem.present?

View file

@ -1,4 +1,4 @@
---
title: Provide KUBECONFIG_FILE from KubernetesService for runners
title: Provide KUBECONFIG from KubernetesService for runners
merge_request: 12223
author:

View file

@ -55,7 +55,7 @@ GitLab CI build environment:
- `KUBE_CA_PEM_FILE` - only present if a custom CA bundle was specified. Path
to a file containing PEM data.
- `KUBE_CA_PEM` (deprecated)- only if a custom CA bundle was specified. Raw PEM data.
- `KUBECONFIG_FILE` - Path to a file containing kubeconfig for this deployment. CA bundle would be embedded if specified.
- `KUBECONFIG` - Path to a file containing kubeconfig for this deployment. CA bundle would be embedded if specified.
## Web terminals

View file

@ -221,7 +221,7 @@ describe KubernetesService, models: true, caching: true do
{ key: 'KUBE_URL', value: 'https://kube.domain.com', public: true },
{ key: 'KUBE_TOKEN', value: 'token', public: false },
{ key: 'KUBE_NAMESPACE', value: namespace, public: true },
{ key: 'KUBECONFIG_FILE', value: kubeconfig, public: false, file: true },
{ key: 'KUBECONFIG', value: kubeconfig, public: false, file: true },
{ key: 'KUBE_CA_PEM', value: 'CA PEM DATA', public: true },
{ key: 'KUBE_CA_PEM_FILE', value: 'CA PEM DATA', public: true, file: true }
)