Skip to content

Instantly share code, notes, and snippets.

@wethinkagile
Last active January 14, 2021 20:40
Show Gist options
  • Save wethinkagile/b641c1f0092f1f3c1ebc4217f2e2d185 to your computer and use it in GitHub Desktop.
Save wethinkagile/b641c1f0092f1f3c1ebc4217f2e2d185 to your computer and use it in GitHub Desktop.
Quay Config SSL: An error occurred loading TLS
# Ansible Quay Config Container
#
#
- name: Quay Setup - Create Config Container
containers.podman.podman_container:
name: quay-config
user: "{{ quay_runtime_uid | default(omit) }}"
recreate: yes
restart: no
image: "{{ quay_image }}"
command: "config {{ quay_setup_password }}"
published_ports:
- 8080:8080
state: started
env:
RANDFILE: /tmp/.rnd
volumes:
- /tmp/quay-config:/conf/stack:z
# podman logs quay-config
#
#
__ __
/ \ / \ ______ _ _ __ __ __
/ /\ / /\ \ / __ \ | | | | / \ \ \ / /
/ / / / \ \ | | | | | | | | / /\ \ \ /
\ \ \ \ / / | |__| | | |__| | / ____ \ | |
\ \/ \ \/ / \_ ___/ \____/ /_/ \_\ |_|
\__/ \__/ \ \__
\___\ by Red Hat
Build, Store, and Distribute your Containers
Running all default config services
Generating a RSA private key
................................................................+++
............................................................................+++
writing new private key to 'mitm-key.pem'
-----
2021-01-14 12:19:37,123 INFO RPC interface 'supervisor' initialized
2021-01-14 12:19:37,123 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2021-01-14 12:19:37,123 INFO supervisord started with pid 6
2021-01-14 12:19:38,126 INFO spawned: 'stdout' with pid 29
2021-01-14 12:19:38,128 INFO spawned: 'config-editor' with pid 30
2021-01-14 12:19:39,211 INFO success: stdout entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-01-14 12:19:39,211 INFO success: config-editor entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
config-editor stderr | 2021/01/14 12:19:38 An error occurred loading TLS: No public key provided for HTTPS. Server falling back to HTTP.
config-editor stderr | 2021/01/14 12:19:38 Running the configuration editor with HTTP on port 8080 with username quayconfig
# Ansible Copy Module
#
#
/var/data
|-- quay
| |-- anchors
| | |-- ca.crt
| |-- config
| | |-- database.pem
| | |-- ssl.crt
| | `-- ssl.key
| |-- custom
| | `-- custom-logo.svg
| `-- storage
`-- repomirror
|-- anchors
|-- config
|-- custom
`-- storage
# Container Mappings
#
#
/tmp/quay-config/
`-- database.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment