From 76ef33a34278eaf7696e02ed027d18042faa050f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Ho=C3=9F?= Date: Mon, 1 Apr 2024 09:04:49 +0200 Subject: [PATCH] remove mention of ssa MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastian Hoß --- docs/index.md | 4 ++-- internal/provider/provider.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/index.md b/docs/index.md index 6654227f9..8a06c5cc8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,12 +3,12 @@ page_title: "k8s Provider" subcategory: "" description: |- - Provider for Kubernetes https://kubernetes.io/ resources using server-side apply https://kubernetes.io/docs/reference/using-api/server-side-apply/. Requires Terraform 1.0 or later. + Provider for Kubernetes https://kubernetes.io/ resources. Requires Terraform 1.0 or later. --- # k8s Provider -Provider for [Kubernetes](https://kubernetes.io/) resources using [server-side apply](https://kubernetes.io/docs/reference/using-api/server-side-apply/). Requires Terraform 1.0 or later. +Provider for [Kubernetes](https://kubernetes.io/) resources. Requires Terraform 1.0 or later. This provider only deals with creating Kubernetes manifests. In order to apply those manifests to a running cluster use other providers like the [kubectl provider](https://registry.terraform.io/providers/gavinbunney/kubectl/). diff --git a/internal/provider/provider.go b/internal/provider/provider.go index 2d5db7f1b..19680eeeb 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -51,8 +51,8 @@ func (p *K8sProvider) Metadata(_ context.Context, _ provider.MetadataRequest, re func (p *K8sProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse) { resp.Schema = schema.Schema{ - Description: "Provider for Kubernetes resources using server-side apply. Requires Terraform 1.0 or later.", - MarkdownDescription: "Provider for [Kubernetes](https://kubernetes.io/) resources using [server-side apply](https://kubernetes.io/docs/reference/using-api/server-side-apply/). Requires Terraform 1.0 or later.", + Description: "Provider for Kubernetes resources. Requires Terraform 1.0 or later.", + MarkdownDescription: "Provider for [Kubernetes](https://kubernetes.io/) resources. Requires Terraform 1.0 or later.", Attributes: map[string]schema.Attribute{ "kubeconfig": schema.StringAttribute{ Description: "An explicit path to a kubeconfig file. Can be specified with the 'TF_K8S_CONFIG' environment variable. Uses Kubernetes defaults if not specified ('KUBECONFIG', or your home directory).",