Skip to content

Commit

Permalink
docs: simplify the commands
Browse files Browse the repository at this point in the history
  • Loading branch information
kurokobo committed Apr 25, 2024
1 parent cb75ae5 commit 084ea66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/user-guide/advanced-configuration/extra-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,12 @@ REDHAT_PASSWORD = "my-super-secure-redhat-password123!"
```bash title="Create ConfigMap and Secret"
# Create ConfigMap
kubectl create configmap my-custom-settings \
--from-file=custom_job_settings.py=/PATH/TO/YOUR/custom_job_settings.py \
--from-file=custom_system_settings.py=/PATH/TO/YOUR/custom_system_settings.py
--from-file /PATH/TO/YOUR/custom_job_settings.py \
--from-file /PATH/TO/YOUR/custom_system_settings.py
# Create Secret
kubectl create secret generic my-custom-passwords \
--from-file=custom_passwords.py=/PATH/TO/YOUR/custom_passwords.py
--from-file /PATH/TO/YOUR/custom_passwords.py
```

Then specify them in the AWX CR spec. Here is an example configuration of `extra_settings_files` parameter.
Expand Down

0 comments on commit 084ea66

Please sign in to comment.