kurokobo / awx-on-k3s

An example implementation of AWX on single node K3s using AWX Operator, with easy-to-use simplified configuration with ownership of data and passwords.
MIT License
547 stars 154 forks source link

Change tls crt and key #379

Closed komiko1 closed 1 month ago

komiko1 commented 1 month ago

Environment

Description

I installed awx using kurokobo awx-on-k3s. It is working properly. I need to change the old tls with a new one. Both old and new tls have been issued locally by me. Could you please let me know how can I do this? I'd appreciate it if you give me a detailed instruction to do this. Thank you.

jpmens commented 1 month ago

Install your tls.{key,crt} into the base/ directory of where you installed the clone of this repository, and re-apply that. I script this roughly as

cp $p1 awx-on-k3s/base/tls.crt
/usr/local/bin/kubectl apply -k base
kurokobo commented 1 month ago

@komiko1 Hi, as @jpmens described, just replace your tls.crt and tls.key, then invoke kubectl apply -k base again. Note that the crt and key files must be in PEM format.

@jpmens Thanks for your help!

komiko1 commented 1 month ago

@jpmens @kurokobo Thank you both for your guidance.