From 95d07b465afa1325e87c77cca247de9ebb660f75 Mon Sep 17 00:00:00 2001 From: Brian Fox <878612+onematchfox@users.noreply.github.com> Date: Thu, 27 Apr 2023 14:12:43 +0200 Subject: [PATCH] docs: improve wording on port forwarding example Co-authored-by: Olivier Boukili --- docs/index.md | 5 +++-- examples/provider/provider.tf | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/index.md b/docs/index.md index 29644291..16952aa9 100644 --- a/docs/index.md +++ b/docs/index.md @@ -64,8 +64,9 @@ provider "argocd" { # context = "foo" # Use explicit context from ArgoCD config instead of `current-context`. } -# Unexposed ArgoCD API - using port-forwarding to temporarily expose ArgoCD API -# and authenticating using `auth_token`. +# Unexposed ArgoCD API - using the current Kubernetes context and +# port-forwarding to temporarily expose ArgoCD API and authenticating using +# `auth_token`. provider "argocd" { auth_token = "1234..." port_forward = true diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf index 502e224e..3e62e9e8 100644 --- a/examples/provider/provider.tf +++ b/examples/provider/provider.tf @@ -18,8 +18,9 @@ provider "argocd" { # context = "foo" # Use explicit context from ArgoCD config instead of `current-context`. } -# Unexposed ArgoCD API - using port-forwarding to temporarily expose ArgoCD API -# and authenticating using `auth_token`. +# Unexposed ArgoCD API - using the current Kubernetes context and +# port-forwarding to temporarily expose ArgoCD API and authenticating using +# `auth_token`. provider "argocd" { auth_token = "1234..." port_forward = true