Fix label;Configure gitea SSH;Fix git folder
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2022-07-15 14:02:27 +02:00
parent 54caff8fb6
commit 05b30287bd
3 changed files with 9 additions and 8 deletions

View File

@ -62,10 +62,9 @@
owner: root
group: root
mode: 0600
when: item is defined
loop: "{{ lookup('ansible.builtin.dict', components) | map(attribute='value.manifests') | list }}"
loop: "{{ lookup('ansible.builtin.dict', components) | map(attribute='value.manifests') | list | select('defined') }}"
loop_control:
label: "{{ item.key }}"
label: "{{ item.type + '/' + item.name }}"
- name: Compress tarballs
community.general.archive:

View File

@ -3,9 +3,9 @@
path: "{{ item }}"
state: directory
loop:
- /opt/metacluster/git-repositories
- /opt/metacluster/git-repositories/gitops
- name: Clone git repository
ansible.builtin.git:
repo: https://code.spamasaurus.com/djpbessems/GitOps.MetaCluster.git
dest: /opt/metacluster/git-repositories
dest: /opt/metacluster/git-repositories/gitops

View File

@ -7,9 +7,6 @@ platform:
- name: traefik
namespace: kube-system
config: |2
# ingressRoute:
# dashboard:
# enabled: true
ports:
ssh:
port: 8022
@ -83,6 +80,11 @@ components:
paths:
- path: /
pathType: Prefix
service:
ssh:
type: ClusterIP
port: 22
clusterIP:
manifests:
- type: ingressroutetcp
name: gitea-ssh