reference tool repo

This commit is contained in:
2024-08-29 14:42:20 +02:00
parent 955006dd5d
commit aa127b53ec
8 changed files with 30 additions and 3 deletions

View File

@@ -166,8 +166,8 @@
traefik_helm_values:
# default is https://github.com/traefik/traefik-helm-chart/blob/v25.0.0/traefik/values.yaml <- for v25 (`kubectl describe deployments.apps traefik -n kube-system | grep helm.sh/chart`)
# current is https://github.com/traefik/traefik-helm-chart/blob/v30.1.0/traefik/values.yaml
deployment:
kind: DaemonSet
nodeSelector:
node-role.kubernetes.io/master: true # make predictible choice of node to direct https traffic to this node and avoid NAT/loss of client IP
service:
spec:
externalTrafficPolicy: Local

View File

@@ -36,6 +36,9 @@
- /var/run/docker.sock:/var/run/docker.sock
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
extra_hosts: gitea.arcodange.duckdns.org={{ hostvars[groups.gitea[0]].ansible_host }}
configs:
- config.yaml
configs:
config.yaml:
content: |

View File

@@ -0,0 +1,3 @@
---
- name: tools
ansible.builtin.import_playbook: ./tools/tools.yml

View File

@@ -0,0 +1,6 @@
---
- name: pgbouncer
hosts: raspberries:&local
tasks:
- ansible.builtin.ping:

View File

@@ -0,0 +1,6 @@
---
- name: prometheus
hosts: raspberries:&local
tasks:
- ansible.builtin.ping:

View File

@@ -0,0 +1,6 @@
---
- name: pgbouncer
ansible.builtin.import_playbook: pgbouncer.yml
- name: prometheus
ansible.builtin.import_playbook: prometheus.yml

View File

@@ -5,6 +5,8 @@ kind: Application
metadata:
name: {{ $app_name }}
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:

View File

@@ -2,4 +2,5 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
gitea_applications:
- url-shortener
- url-shortener
- tools