Skip to content

Commit

Permalink
Fix OKD podman deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mlorenzofr committed Jul 18, 2024
1 parent 02eb24c commit fcc4f78
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data/default_public_container_registries.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
quay.io
quay.io,registry.ci.openshift.org
6 changes: 5 additions & 1 deletion deploy/podman/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,18 @@ the assisted-service API that agents will connect to.

Additionally, make sure to change the following:
```yaml
ASSISTED_SERVICE_URL: https://127.0.0.1:8090
ASSISTED_SERVICE_URL: https://127.0.0.1:8090
HTTPS_CERT_FILE: "/etc/certs/tls.crt" # Need to match certs-configmap-volume mountPath
HTTPS_KEY_FILE: "/etc/certs/tls.key" # Need to match certs-configmap-volume mountPath
HTTPS_CA_FILE: "/etc/certs/tls.crt" # Need to match certs-configmap-volume mountPath. Needed if the certificate is not signed by a CA in RHEL's default trust bundle.
ASSISTED_SERVICE_HOST: 127.0.0.1:8090
ASSISTED_SERVICE_SCHEME: https # A must for the UI nginx to be configured with TLS
```
If you are using a `RELEASE_IMAGE` hosted on a different registry than quay.io, add
the host name to the `PUBLIC_CONTAINER_REGISTRIES` environment variable. You have an
example in [okd-configmap.yml](./okd-configmap.yml).

## Optional Configuration

Other environment variables may be set in configmap.yml. For example, custom
Expand Down
2 changes: 1 addition & 1 deletion deploy/podman/okd-configmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data:
POSTGRESQL_DATABASE: installer
POSTGRESQL_PASSWORD: admin
POSTGRESQL_USER: admin
PUBLIC_CONTAINER_REGISTRIES: 'quay.io'
PUBLIC_CONTAINER_REGISTRIES: 'quay.io,registry.ci.openshift.org'
SERVICE_BASE_URL: http://127.0.0.1:8090
STORAGE: filesystem
OS_IMAGES: '[{"openshift_version":"4.16","cpu_architecture":"x86_64","url":"https://builds.coreos.fedoraproject.org/prod/streams/stable/builds/39.20240322.3.1/x86_64/fedora-coreos-39.20240322.3.1-live.x86_64.iso","version":"39.20240322.3.1"}]'
Expand Down

0 comments on commit fcc4f78

Please sign in to comment.