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

View File

@ -3,9 +3,9 @@
path: "{{ item }}" path: "{{ item }}"
state: directory state: directory
loop: loop:
- /opt/metacluster/git-repositories - /opt/metacluster/git-repositories/gitops
- name: Clone git repository - name: Clone git repository
ansible.builtin.git: ansible.builtin.git:
repo: https://code.spamasaurus.com/djpbessems/GitOps.MetaCluster.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 - name: traefik
namespace: kube-system namespace: kube-system
config: |2 config: |2
# ingressRoute:
# dashboard:
# enabled: true
ports: ports:
ssh: ssh:
port: 8022 port: 8022
@ -83,6 +80,11 @@ components:
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
service:
ssh:
type: ClusterIP
port: 22
clusterIP:
manifests: manifests:
- type: ingressroutetcp - type: ingressroutetcp
name: gitea-ssh name: gitea-ssh