Compare commits
2 commits
0112ca70ed
...
12bcf77d62
| Author | SHA1 | Date | |
|---|---|---|---|
| 12bcf77d62 | |||
| e035bed802 |
4 changed files with 1784 additions and 18 deletions
|
|
@ -2,5 +2,7 @@
|
|||
- name: Deploy Uyuni Server on Kubernetes
|
||||
hosts: manager_nodes
|
||||
become: false
|
||||
vars:
|
||||
ansible_python_interpreter: "/home/{{ ansible_user }}/.venv/bin/python"
|
||||
roles:
|
||||
- uyuni
|
||||
|
|
|
|||
|
|
@ -4,9 +4,21 @@ uyuni_namespace: uyuni-server
|
|||
uyuni_chart_version: 2026.6.0
|
||||
uyuni_kubeconfig: "/home/{{ ansible_user }}/.kube/config"
|
||||
uyuni_helm_values:
|
||||
global.fqdn: uyuni.local.mrwho.ru
|
||||
ingress.enabled: true
|
||||
ingress.type: traefik
|
||||
global.persistence.storageClass: longhorn-xfs
|
||||
global.fqdn: uyuni.local.mrwho.ru
|
||||
ingress.enabled: true
|
||||
ingress.type: traefik
|
||||
server.email: mrwho@mrwho.ru
|
||||
db.internal.name: uyuni
|
||||
global.tls.enabled: true
|
||||
global.tls.ingressSecretName: uyuni-cert
|
||||
global.tls.dbSecretName: db-cert
|
||||
db.adminSecretName: db-admin-credentials
|
||||
db.internal.secretName: db-credentials
|
||||
db.reportSecretName: reportdb-credentials
|
||||
server.adminSecretName: admin-credentials
|
||||
# db.postgresql.persistence.subPath: postgres-data
|
||||
# db.env.PGDATA: /var/lib/pgsql/data/postgres-data
|
||||
uyuni_create_certificates: true
|
||||
uyuni_certificates:
|
||||
- name: uyuni-ingress-cert
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -121,5 +121,29 @@
|
|||
password: "{{ uyuni_admin_password | b64encode }}"
|
||||
state: present
|
||||
|
||||
- name: Create uyuni-ca ConfigMap
|
||||
kubernetes.core.k8s:
|
||||
api_version: v1
|
||||
kind: ConfigMap
|
||||
name: uyuni-ca
|
||||
namespace: "{{ uyuni_namespace }}"
|
||||
kubeconfig: "{{ uyuni_kubeconfig }}"
|
||||
definition:
|
||||
data:
|
||||
ca.crt: ""
|
||||
state: present
|
||||
|
||||
- name: Create db-ca ConfigMap
|
||||
kubernetes.core.k8s:
|
||||
api_version: v1
|
||||
kind: ConfigMap
|
||||
name: db-ca
|
||||
namespace: "{{ uyuni_namespace }}"
|
||||
kubeconfig: "{{ uyuni_kubeconfig }}"
|
||||
definition:
|
||||
data:
|
||||
ca.crt: ""
|
||||
state: present
|
||||
|
||||
- name: Include Helm installation
|
||||
ansible.builtin.include_tasks: helm.yml
|
||||
|
|
|
|||
Loading…
Reference in a new issue