Skip to content

Commit

Permalink
docs: more examples for ca_data argocd_cluster.tls_client_config (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrLuje authored Apr 12, 2022
1 parent 4711587 commit 9c43e2d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/resources/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ resource "argocd_cluster" "kubernetes" {
bearer_token = "eyJhbGciOiJSUzI..."
tls_client_config {
ca_data = base64encode(file("path/to/ca.pem"))
ca_data = file("path/to/ca.pem")
// ca_data = "-----BEGIN CERTIFICATE-----\nfoo\nbar\n-----END CERTIFICATE-----"
// ca_data = base64decode("LS0tLS1CRUdJTiBDRVJUSUZ...")
// insecure = true
}
}
Expand Down

0 comments on commit 9c43e2d

Please sign in to comment.