Improve feedback;Fix Gitea config;Fix argocd config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2022-08-31 12:04:53 +02:00
parent 8d13b527be
commit 6c4fe7a0e6
3 changed files with 10 additions and 7 deletions

View File

@ -23,6 +23,8 @@
jq -r '.Tags[0]')
chdir: /opt/metacluster/container-images/
with_fileglob: /opt/metacluster/container-images/*.tar
loop_control:
label: "{{ item | basename }}"
- name: Configure K3s node for private registry
ansible.builtin.template:

View File

@ -6,7 +6,7 @@ metadata:
spec:
generators:
- git:
repoURL: https://git.{{ vapp['metacluster.fqdn'] }}/mc/ArgoCD.Config.git
repoURL: ssh://git@gitea-ssh.gitea.svc.cluster.local/mc/GitOps.Config.git
revision: HEAD
directories:
- path: metacluster-applicationset/*
@ -20,9 +20,9 @@ spec:
prune: true
selfHeal: true
source:
repoURL: https://git.{{ vapp['metacluster.fqdn'] }}/mc/ArgoCD.Config.git
repoURL: ssh://git@gitea-ssh.gitea.svc.cluster.local/mc/GitOps.Config.git
targetRevision: HEAD
path: {% raw %}'{{ path }}'{% endraw +%}
destination:
server: https://{{ vapp['guestinfo.ipaddress'] }}:6443
server: https://kubernetes.default.svc
namespace: default

View File

@ -116,15 +116,16 @@ components:
chart: gitea-charts/gitea
parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | sed '/:/!s/$/:latest/'
chart_values: !unsafe |
config:
offlineMode: true
server:
PROTOCOL: https
gitea:
admin:
username: administrator
password: "{{ vapp['guestinfo.rootpw'] }}"
email: admin@{{ vapp['metacluster.fqdn'] }}
config:
server:
OFFLINE_MODE: true
PROTOCOL: http
ROOT_URL: https://git.{{ vapp['metacluster.fqdn'] }}/
image:
pullPolicy: IfNotPresent
ingress: