mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 06:12:54 +00:00
update Trusting a Custom Certificate Authority
I had hard times to identify how to declare to include statement for a custom certifcate bundle within the Kustomize file. The tricky part for me was to spot the option "disableNameSuffixHash: true" in order to avoid renaming the secret name with an has suffix
This commit is contained in:
17
README.md
17
README.md
@@ -813,7 +813,22 @@ spec:
|
|||||||
bundle_cacert_secret: <resourcename>-custom-certs
|
bundle_cacert_secret: <resourcename>-custom-certs
|
||||||
```
|
```
|
||||||
|
|
||||||
To create the secrets, you can use the commands below:
|
Create the secret with `kustomization.yaml` file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
....
|
||||||
|
|
||||||
|
secretGenerator:
|
||||||
|
- name: <resourcename>-custom-certs
|
||||||
|
files:
|
||||||
|
- bundle-ca.crt=<path+filename>
|
||||||
|
options:
|
||||||
|
disableNameSuffixHash: true
|
||||||
|
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
|
Create the secret with CLI:
|
||||||
|
|
||||||
* Certificate Authority secret
|
* Certificate Authority secret
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user