Hi!
I plan to configure existing awx 21.x to use custom-ca-bundle. I followed the instruction in github: https://github.com/ansible/awx-operator/issues/376 however it is not working for me. could some one help me here.
Steps followed:
created the secret named awx-ssl-ca-custom
modified the awx.yaml file to have the space contains above awx-ssl-ca-custom
bundle_cacert_secret: awx-ssl-ca-custom
then ran the kubectl -n awx replace -f awx.yaml
after the above step it is not triggering operator deployment, I had to do it manually however still the cert is not populated under /etc/pk of each container.
Kindly advice.
Thanks.
could some one help me here. Thanks.
Hello!
Could you provide the output of your kubectl -n awx replace -f awx.yaml
command? Does the command itself complete successfully?
Can you include the awx.yaml file (removing any sensitive information, as needed)? This will better help us understand what is happening.
Thanks!
AWX Team
Thanks.
I got below.
awx/awx replaced. no error however the pods are not re-created.
kind: awx
metadata:
name: awx
namespace: awx
spec:
bundle_cacert_secret: file_name
Hi there,
I think kubeclt edit or kubectl patch would be better for what you’re doing here.
I’m not fully sure why your pods aren’t coming up but if you use replace you need to provide the full spec, not just the specific thing you want changed.
This might help you out: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#replace
We would be curious if this fixes your issue or not, because we can’t seem to do a reproduction on our end here.
Thanks,
AWX Team
Could you please help us here
Were you able to try the last suggestion? If so, could you please provide us with the errors/output of this?
Thanks,
AWX Team