Fix label;Configure gitea SSH;Fix git folder
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
54caff8fb6
commit
05b30287bd
@ -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:
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user