Skip to content

Commit

Permalink
docs: improve wording on port forwarding example
Browse files Browse the repository at this point in the history
Co-authored-by: Olivier Boukili <[email protected]>
  • Loading branch information
onematchfox and oboukili committed Apr 27, 2023
1 parent b3f5340 commit 95d07b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions examples/provider/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95d07b4

Please sign in to comment.