Skip to content

Commit

Permalink
make the deprecation note more noticable
Browse files Browse the repository at this point in the history
  • Loading branch information
imthaghost committed Nov 17, 2021
1 parent a9b5b4f commit c82e850
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
19 changes: 9 additions & 10 deletions website/content/api-docs/auth/kubernetes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@ access the Kubernetes API.
| :----- | :------------------------ |
| `POST` | `/auth/kubernetes/config` |

### Deprecations

The following fields have been deprecated and will be removed in a future release:

* `disable_iss_validation` `(bool: true)` Disable JWT issuer validation. Allows to skip ISS validation.


* `issuer` `(string: "")` Optional JWT issuer. If no issuer is specified, then this plugin will


### Parameters

- `kubernetes_host` `(string: <required>)` - Host must be a host string, a host:port pair, or a URL to the base of the Kubernetes API server.
Expand All @@ -50,6 +40,15 @@ The following fields have been deprecated and will be removed in a future releas
use `kubernetes/serviceaccount` as the default issuer. See [these instructions](/docs/platform/k8s/csi#setting-issuer-for-kubernetes-authentication) for looking up the issuer for a given Kubernetes cluster.
- `disable_local_ca_jwt` `(bool: false)` - Disable defaulting to the local CA cert and service account JWT when running in a Kubernetes pod.

### Deprecated Parameters

The following fields have been deprecated and will be removed in a future release:

* `disable_iss_validation` `(bool: true)` Disable JWT issuer validation. Allows to skip ISS validation.


* `issuer` `(string: "")` Optional JWT issuer. If no issuer is specified, then this plugin will

### Caveats

If Vault is running in a Kubernetes Pod, the `kubernetes_ca_cert` and
Expand Down
4 changes: 3 additions & 1 deletion website/content/docs/platform/k8s/csi/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ description: >-
The Vault CSI Provider allows pods to consume Vault secrets using CSI volumes.
---

-> **Deprecated:** The issuer parameter has been deprecated as of Vault 1.9 and will and will be removed in a future release.

# Vault CSI Provider

The Vault CSI Provider allows pods to consume Vault secrets using
Expand Down Expand Up @@ -69,7 +71,7 @@ long-lived default service account token, with an issuer different to the tokens
Vault CSI Provider will create. But one Kubernetes auth mount can only be
configured to validate a single issuer value.

-> **Deprecated:** The issuer has been deprecated and will be removed in a future release.


## Secret Provider Class Example

Expand Down

0 comments on commit c82e850

Please sign in to comment.