Skip to content

Commit 4f62e27

Browse files
authored
docs edits
1 parent b736ef3 commit 4f62e27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/reference/template-functions-static-context.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ This topic provides a list of the KOTS template functions in the Static context.
1616
func PrivateCACert() string
1717
```
1818

19-
For KOTS installations, PrivateCACert returns the name of a ConfigMap that contains CA certificates provided by the end user using the `--private-ca-configmap` flag to the `install` command. For Embedded Cluster installations, the ConfigMap contains the CA trust store from the host. The CA trust store is determined by first checking for the SSL_CERT_FILE environment variable, and if not set, searching common certificate paths, using the first valid certificate file found.
19+
For KOTS installations, PrivateCACert returns the name of a ConfigMap that contains CA certificates provided by the end user with the `--private-ca-configmap` flag for the install command. For Embedded Cluster installations, the ConfigMap returned by PrivateCACert contains the CA trust store from the host. The CA trust store is determined by first checking for the SSL_CERT_FILE environment variable. If SSL_CERT_FILE is not set, KOTS then searches common certificate paths and uses the first valid certificate file found.
2020

2121
You can use this template function to mount the specified ConfigMap so your containers can access the internet through enterprise proxies that issue their own TLS certificates in order to inspect traffic.
2222

2323
:::note
24-
This function will return the name of the ConfigMap even if the ConfigMap has no entries. If no ConfigMap exists, this function returns the empty string.
24+
This function returns the name of the ConfigMap even if the ConfigMap has no entries. If no ConfigMap exists, this function returns the empty string.
2525
:::
2626

2727
## Cluster Information Functions
@@ -630,4 +630,4 @@ This can be useful when dealing with user-uploaded files that may include null b
630630
631631
```yaml
632632
repl{{ ConfigOptionData "my_file_upload" | YamlEscape }}
633-
```
633+
```

0 commit comments

Comments
 (0)