3 Commits

Author SHA1 Message Date
89874d57ce fix: Explicitly convert child dictionary to json
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-11 11:53:37 +02:00
2b497d4653 fix: Fix playbook tasklist order 2023-07-11 11:42:12 +02:00
cfa4a5379a feat: Switch to OCI-archive for container storage 2023-07-11 11:41:33 +02:00
3 changed files with 11 additions and 3 deletions

View File

@ -62,6 +62,6 @@
--insecure-policy \
--retry-times=5 \
docker://{{ item }} \
docker-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}_{{ lookup('ansible.builtin.password', '/dev/null length=5 chars=ascii_lowercase,digits seed={{ item }}') }}.tar:{{ item }}
oci-archive:./{{ ( item | regex_findall('[^/:]+'))[-2] }}_{{ lookup('ansible.builtin.password', '/dev/null length=5 chars=ascii_lowercase,digits seed={{ item }}') }}.tar:{{ item }}
chdir: /opt/metacluster/container-images
loop: "{{ (containerimages_charts + containerimages_kubeadm + containerimages_manifests + dependencies.container_images) | flatten | unique | sort }}"

View File

@ -7,7 +7,15 @@
create_namespace: true
wait: false
kubeconfig: "{{ kubeconfig.path }}"
values: "{{ components['json-server'].chart_values }}"
values: |
{{
components['json-server'].chart_values |
combine( {
'seedData': {
'configInline': ( components['json-server'].chart_values.seedData.configInline | to_json )
}
} )
}}
- name: Ensure json-server API availability
ansible.builtin.uri:

View File

@ -1,8 +1,8 @@
- import_tasks: init.yml
- import_tasks: k3s.yml
- import_tasks: json-server.yml
- import_tasks: assets.yml
- import_tasks: kube-vip.yml
- import_tasks: json-server.yml
- import_tasks: storage.yml
- import_tasks: ingress.yml
- import_tasks: certauthority.yml