Skip to content

Commit

Permalink
kubernetes-main
Browse files Browse the repository at this point in the history
  • Loading branch information
rwlove committed Jan 18, 2024
1 parent c5a34f1 commit af85df1
Show file tree
Hide file tree
Showing 103 changed files with 142 additions and 142 deletions.
2 changes: 1 addition & 1 deletion .github/labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ area/taskfile:
- any-glob-to-any-file: Taskfile*
area/kubernetes:
- changed-files:
- any-glob-to-any-file: clusters/lovenet/**/*
- any-glob-to-any-file: kubernetes/main/**/*
2 changes: 1 addition & 1 deletion .github/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- name: area/cluster
color: "72ccf3"
description: >-
Changes made in the clusters/lovenet directory
Changes made in the kubernetes/main directory
- name: area/hack
color: "72ccf3"
description: >-
Expand Down
2 changes: 1 addition & 1 deletion .github/linters/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
bootstrap
*secrets.yaml
ansible
clusters/lovenet/base/flux-system/*.yaml
kubernetes/main/base/flux-system/*.yaml
2 changes: 1 addition & 1 deletion .github/linters/.yamllint.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
ignore: |
*secrets.yaml
clusters/lovenet/base/flux-system/*.yaml
kubernetes/main/base/flux-system/*.yaml
*dashboard.json
extends: default
Expand Down
8 changes: 4 additions & 4 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@
"rebaseWhen": "conflicted",
"commitBodyTable": true,
"flux": {
"fileMatch": ["clusters/lovenet/.+\\.ya?ml$"]
"fileMatch": ["kubernetes/main/.+\\.ya?ml$"]
},
"helm-values": {
"fileMatch": ["clusters/lovenet/.+\\.ya?ml$"]
"fileMatch": ["kubernetes/main/.+\\.ya?ml$"]
},
"kubernetes": {
"fileMatch": ["clusters/lovenet/.+\\.ya?ml$"]
"fileMatch": ["kubernetes/main/.+\\.ya?ml$"]
},
"regexManagers": [
{
"description": "Process custom dependencies",
"fileMatch": [
"clusters/lovenet/.+\\.ya?ml$"
"kubernetes/main/.+\\.ya?ml$"
],
"matchStrings": [
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>\\S+))?\n.*?\"(?<currentValue>.*)\"\n"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flux-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
id: changed-files
uses: tj-actions/changed-files@ae82ed4ae04587b665efad2f206578aa6f0e8539 # v42
with:
files: clusters/lovenet/**
files: kubernetes/main/**
dir_names: true
dir_names_max_depth: 2
json: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flux-hr-image-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
id: changed-files
uses: tj-actions/changed-files@ae82ed4ae04587b665efad2f206578aa6f0e8539 # v42
with:
files: clusters/lovenet/**
files: kubernetes/main/**
dir_names: true
dir_names_max_depth: 2
json: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flux-ks-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main
paths:
- .github/workflows/flux-ks-sync.yaml
- clusters/lovenet/**
- kubernetes/main/**

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
Expand Down
6 changes: 3 additions & 3 deletions .sops.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
creation_rules:
- path_regex: clusters/lovenet/.*\.yaml
- path_regex: kubernetes/main/.*\.yaml
encrypted_regex: '((?i)(pass|secret($|[^N])|key|token|^data$|^stringData))'
key_groups:
- age:
- age1xzgpmf8g3t9wwkwnd2g5affae4meqks356umrqhyf3x3x9jttgpqgv2qkv
- path_regex: clusters/lovenet/.*\.json
- path_regex: kubernetes/main/.*\.json
encrypted_regex: '(?i)(.*)'
key_groups:
- age:
- age1xzgpmf8g3t9wwkwnd2g5affae4meqks356umrqhyf3x3x9jttgpqgv2qkv
- path_regex: clusters/lovenet/.*\.toml
- path_regex: kubernetes/main/.*\.toml
key_groups:
- age:
- age1xzgpmf8g3t9wwkwnd2g5affae4meqks356umrqhyf3x3x9jttgpqgv2qkv
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
echo "GITHUB_USER: ${GITHUB_USER}"
echo "GITHUB_TOKEN: ${GITHUB_TOKEN}"

flux bootstrap github --verbose --owner=$GITHUB_USER --repository=fleet-infra --branch=main --path=./clusters/lovenet/base --personal --log-level debug
flux bootstrap github --verbose --owner=$GITHUB_USER --repository=fleet-infra --branch=main --path=./kubernetes/main/base --personal --log-level debug
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
dependsOn:
- name: system-external-secrets-stores
path: ./clusters/lovenet/apps/actions-runner-system/actions-runner-controller/app
path: ./kubernetes/main/apps/actions-runner-system/actions-runner-controller/app
prune: true
sourceRef:
kind: GitRepository
Expand All @@ -27,7 +27,7 @@ metadata:
spec:
dependsOn:
- name: system-actions-runner-controller
path: ./clusters/lovenet/apps/actions-runner-system/actions-runner-controller/runners
path: ./kubernetes/main/apps/actions-runner-system/actions-runner-controller/runners
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/ai/chatbot-ui/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
labels:
substitution.flux.home.arpa/enabled: "true"
spec:
path: ./clusters/lovenet/apps/ai/chatbot-ui/app
path: ./kubernetes/main/apps/ai/chatbot-ui/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/ai/chatgpt/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: ai-chatgpt
namespace: flux-system
spec:
path: ./clusters/lovenet/apps/ai/chatgpt/app
path: ./kubernetes/main/apps/ai/chatgpt/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
4 changes: 2 additions & 2 deletions clusters/lovenet/apps/ai/k8sgpt/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
labels:
substitution.flux.home.arpa/enabled: "true"
spec:
path: ./clusters/lovenet/apps/ai/k8sgpt/app
path: ./kubernetes/main/apps/ai/k8sgpt/app
prune: true
sourceRef:
kind: GitRepository
Expand All @@ -33,7 +33,7 @@ metadata:
labels:
substitution.flux.home.arpa/enabled: "true"
spec:
path: ./clusters/lovenet/apps/ai/k8sgpt/config
path: ./kubernetes/main/apps/ai/k8sgpt/config
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/ai/localai/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: ai-localai
namespace: flux-system
spec:
path: ./clusters/lovenet/apps/ai/localai/app
path: ./kubernetes/main/apps/ai/localai/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/auth/authelia/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: auth-authelia
namespace: flux-system
spec:
path: ./clusters/lovenet/apps/auth/authelia/app
path: ./kubernetes/main/apps/auth/authelia/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/auth/lldap/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
dependsOn:
- name: databases-cloudnative-pg-cluster
- name: system-external-secrets-stores
path: ./clusters/lovenet/apps/auth/lldap/app
path: ./kubernetes/main/apps/auth/lldap/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
6 changes: 3 additions & 3 deletions clusters/lovenet/apps/cert-manager/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
labels:
substitution.flux.home.arpa/enabled: "true"
spec:
path: ./clusters/lovenet/apps/cert-manager/app
path: ./kubernetes/main/apps/cert-manager/app
prune: true
sourceRef:
kind: GitRepository
Expand All @@ -34,7 +34,7 @@ metadata:
labels:
substitution.flux.home.arpa/enabled: "true"
spec:
path: ./clusters/lovenet/apps/cert-manager/issuers
path: ./kubernetes/main/apps/cert-manager/issuers
prune: true
sourceRef:
kind: GitRepository
Expand All @@ -55,7 +55,7 @@ metadata:
spec:
dependsOn:
- name: system-cert-manager
path: ./clusters/lovenet/apps/cert-manager/dashboard
path: ./kubernetes/main/apps/cert-manager/dashboard
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/collab/syncthing/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: collab-syncthing
namespace: flux-system
spec:
path: ./clusters/lovenet/apps/collab/syncthing/app
path: ./kubernetes/main/apps/collab/syncthing/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/collab/vikunja/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: collab-vikunja
namespace: flux-system
spec:
path: ./clusters/lovenet/apps/collab/vikunja/app
path: ./kubernetes/main/apps/collab/vikunja/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
4 changes: 2 additions & 2 deletions clusters/lovenet/apps/databases/cloudnative-pg/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
interval: 30m
retryInterval: 1m
timeout: 5m
path: ./clusters/lovenet/apps/databases/cloudnative-pg/app
path: ./kubernetes/main/apps/databases/cloudnative-pg/app
prune: true
sourceRef:
kind: GitRepository
Expand All @@ -35,7 +35,7 @@ spec:
interval: 30m
retryInterval: 1m
timeout: 5m
path: ./clusters/lovenet/apps/databases/cloudnative-pg/config
path: ./kubernetes/main/apps/databases/cloudnative-pg/config
prune: true
wait: true
sourceRef:
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/databases/influxdb/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
dependsOn:
- name: storage-longhorn
- name: network-cilium
path: ./clusters/lovenet/apps/databases/influxdb/app
path: ./kubernetes/main/apps/databases/influxdb/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/databases/pgadmin/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: databases-pgadmin
namespace: flux-system
spec:
path: ./clusters/lovenet/apps/databases/pgadmin/app
path: ./kubernetes/main/apps/databases/pgadmin/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/databases/phpmyadmin/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: databases-phpmyadmin
namespace: flux-system
spec:
path: ./clusters/lovenet/apps/databases/phpmyadmin/app
path: ./kubernetes/main/apps/databases/phpmyadmin/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/databases/redis/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: databases-redis
namespace: flux-system
spec:
path: ./clusters/lovenet/apps/databases/redis/app
path: ./kubernetes/main/apps/databases/redis/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/downloads/autobrr/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
namespace: flux-system
spec:
interval: 10m
path: ./clusters/lovenet/apps/downloads/autobrr/app/
path: ./kubernetes/main/apps/downloads/autobrr/app/
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/downloads/prowlarr/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: downloads-prowlarr
namespace: flux-system
spec:
path: ./clusters/lovenet/apps/downloads/prowlarr/app
path: ./kubernetes/main/apps/downloads/prowlarr/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/downloads/qbittorrent/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: downloads-qbittorrent
namespace: flux-system
spec:
path: ./clusters/lovenet/apps/downloads/qbittorrent/app
path: ./kubernetes/main/apps/downloads/qbittorrent/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/downloads/sabnzbd/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: downloads-sabnzbd
namespace: flux-system
spec:
path: ./clusters/lovenet/apps/downloads/sabnzbd/app
path: ./kubernetes/main/apps/downloads/sabnzbd/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/flux-system/addons/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
dependsOn:
- name: system-external-secrets-stores
path: ./clusters/lovenet/apps/flux-system/addons/webhook
path: ./kubernetes/main/apps/flux-system/addons/webhook
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/home/atuin/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
dependsOn:
- name: databases-cloudnative-pg-cluster
- name: system-external-secrets-stores
path: ./clusters/lovenet/apps/home/atuin/app
path: ./kubernetes/main/apps/home/atuin/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/home/deepstack/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: home-deepstack
namespace: flux-system
spec:
path: ./clusters/lovenet/apps/home/deepstack/app
path: ./kubernetes/main/apps/home/deepstack/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/home/double-take/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: home-double-take
namespace: flux-system
spec:
path: ./clusters/lovenet/apps/home/double-take/app
path: ./kubernetes/main/apps/home/double-take/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/home/emqx/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
interval: 30m
retryInterval: 1m
timeout: 5m
path: ./clusters/lovenet/apps/home/emqx/app
path: ./kubernetes/main/apps/home/emqx/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
4 changes: 2 additions & 2 deletions clusters/lovenet/apps/home/esphome/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
- name: network-cilium
- name: storage-longhorn
- name: home-automation-esphome-multus
path: ./clusters/lovenet/apps/home/esphome/app
path: ./kubernetes/main/apps/home/esphome/app
prune: true
sourceRef:
kind: GitRepository
Expand All @@ -32,7 +32,7 @@ metadata:
namespace: flux-system
spec:
interval: 10m
path: ./clusters/lovenet/apps/home/esphome/net-attach
path: ./kubernetes/main/apps/home/esphome/net-attach
prune: true
sourceRef:
kind: GitRepository
Expand Down
2 changes: 1 addition & 1 deletion clusters/lovenet/apps/home/exercisediary/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
labels:
substitution.flux.home.arpa/enabled: "true"
spec:
path: ./clusters/lovenet/apps/home/exercisediary/app
path: ./kubernetes/main/apps/home/exercisediary/app
prune: true
sourceRef:
kind: GitRepository
Expand Down
Loading

0 comments on commit af85df1

Please sign in to comment.