fix: add workaround to suppress certain errors

This commit is contained in:
kurokobo 2022-05-14 12:23:14 +09:00
parent 4a2e915545
commit f3a4f1a0db
2 changed files with 15 additions and 0 deletions

8
base/dockerconfig.json Normal file
View file

@ -0,0 +1,8 @@
{
"auths": {
"dummy.example.com": {
"username": "you_do_not_need_to_edit_this_file",
"password": "this_file_is_used_in_workaround_to_suppress_certain_errors"
}
}
}

View file

@ -28,6 +28,13 @@ secretGenerator:
literals:
- password=Ansible123!
# Temporary workaround to suppress errors from AWX Operator 0.21.0.
# Refer: https://github.com/kurokobo/awx-on-k3s/issues/74
- name: redhat-operators-pull-secret
files:
- .dockerconfigjson=dockerconfig.json
type: kubernetes.io/dockerconfigjson
resources:
- pv.yaml
- pvc.yaml