
This change adds an optional registry configuration to the spec: registry: image: docker.io/zuul/zuul-registry:latest count: 0 storage-size: 20 public-url: https://registry:9000 The operator expect a {{ cr_name }}-registry-tls secret to be provided for tls and user configuration. If the secret is missing, the operator creates self signed certificates and generates the user password. Depends-On: https://review.opendev.org/710644 Change-Id: I0c054485b0ad01d53ddcff93f7bcbf34d1810325
23 lines
634 B
YAML
23 lines
634 B
YAML
- name: start kubernetes and install all dependencies
|
|
hosts: all
|
|
pre_tasks:
|
|
- name: Install openshift client for k8s tasks
|
|
command: python3 -m pip install --user openshift
|
|
roles:
|
|
- role: clear-firewall
|
|
- role: install-podman
|
|
- role: install-kubernetes
|
|
vars:
|
|
minikube_dns_resolvers:
|
|
- '1.1.1.1'
|
|
- '8.8.8.8'
|
|
- role: use-buildset-registry
|
|
buildset_registry_docker_user: root
|
|
post_tasks:
|
|
- name: check kubernetes connection
|
|
command: timeout 10s kubectl get pods
|
|
register: _api_ready
|
|
until: _api_ready.rc == 0
|
|
retries: 6
|
|
delay: 10
|