Commit 42828e8f authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

doc: warn default Docker image has to be changed

parent c19f6bc0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ The Kubernetes template uses some global configuration used throughout all jobs.

| Name                  | description                            | default value     |
| --------------------- | -------------------------------------- | ----------------- |
| `K8S_KUBECTL_IMAGE`    | the Docker image used to run Kubernetes `kubectl` commands| `bitnami/kubectl:latest` **it is highly recommended to set the CLI version compatible with your Kubernetes cluster** |
| `K8S_KUBECTL_IMAGE`    | the Docker image used to run Kubernetes `kubectl` commands <br/>:warning: **set the version required by your Kubernetes server** | `bitnami/kubectl:latest` |
| `K8S_BASE_APP_NAME`    | default application name              | `$CI_PROJECT_NAME` ([see GitLab doc](https://docs.gitlab.com/ee/ci/variables/predefined_variables.html)) |
| :lock: `K8S_DEFAULT_KUBE_CONFIG`| default kubeconfig content used by `kubectl`. | **required if not using exploded kubeconfig parameters** |
| `K8S_URL`              | the Kubernetes API url                | **required if using exploded kubeconfig parameters** |
@@ -373,6 +373,6 @@ variables:
    # $VAULT_ROLE_ID and $VAULT_SECRET_ID defined as a secret CI/CD variable
```

## Gitlab compatibility
## GitLab compatibility

:information_source: This template is actually tested and validated on GitLab Community Edition instance version 13.12.11
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
  "variables": [
    {
      "name": "K8S_KUBECTL_IMAGE",
      "description": "The Docker image used to run Kubernetes `kubectl` commands - **it is highly recommended to set the CLI version compatible with your Kubernetes cluster**",
      "description": "The Docker image used to run Kubernetes `kubectl` commands - **set the version required by your Kubernetes server**",
      "default": "bitnami/kubectl:latest"
    },
    {