diff --git a/base/dockerconfig.json b/base/dockerconfig.json new file mode 100644 index 0000000..536cc4f --- /dev/null +++ b/base/dockerconfig.json @@ -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" + } + } +} diff --git a/base/kustomization.yaml b/base/kustomization.yaml index c8efe6a..348fa99 100644 --- a/base/kustomization.yaml +++ b/base/kustomization.yaml @@ -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