Merge pull request #75 from kurokobo/suppress-secret-error

fix: add workaround to suppress certain errors
This commit is contained in:
kurokobo 2022-05-14 12:29:21 +09:00 committed by GitHub
commit 0682580b55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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