Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference/template-functions-static-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This topic provides a list of the KOTS template functions in the Static context.
func PrivateCACert() string
```

PrivateCACert returns the name of a ConfigMap that contains private CA certificates provided by the end user. For Embedded Cluster installations, these certificates are provided with the `--private-ca` flag for the `install` command. For KOTS installations, the user provides the ConfigMap using the `--private-ca-configmap` flag for the `install` command.
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 for the `install` command. For Embedded Cluster installations, the ConfigMap contains a single file which is the CA trust store from the host.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we mention how we determine the CA trust store from the host here? Should be pretty straightforward, and wonder if it'll be useful in the future during support.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added


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.

Expand Down