-
Download cert-output-pod.yaml
-
Edit
cert-output-pod.yamlto add the value ofTESTHOSTenvironment variable (mandatory), and optionallyTESTPORTif you require port other than 443. -
Run the pod:
kubectl apply -f cert-output-pod.yaml -n <namespace>Once the certificate has been retrieved and printed out, the pod exits.
-
Review the log for the container
kubectl logs cert-output -n <namespace>The log should print out the certificate and openssl log trying to retrieve it, examine the output for any errors.
-
Cleanup
kubectl delete -f cert-output-pod.yaml.yaml -n <namespace>
examples
Directory actions
More options
Directory actions
More options
examples
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||