-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
64 changed files
with
1,493 additions
and
126 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: &app flux-webhooks | ||
namespace: flux-system | ||
spec: | ||
targetNamespace: flux-system | ||
commonMetadata: | ||
labels: | ||
app.kubernetes.io/name: *app | ||
path: ./kubernetes/lianalabs/apps/flux-system/webhooks/app | ||
prune: true | ||
sourceRef: | ||
kind: GitRepository | ||
name: k8s-gitops | ||
wait: true | ||
interval: 30m | ||
retryInterval: 1m | ||
timeout: 5m |
21 changes: 21 additions & 0 deletions
21
kubernetes/lianalabs/apps/flux-system/webhooks/app/github/ingress.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: flux-webhook | ||
namespace: flux-system | ||
annotations: | ||
external-dns.alpha.kubernetes.io/target: "external.${SECRET_EXTERNAL_DOMAIN}" | ||
spec: | ||
ingressClassName: traefik-external | ||
rules: | ||
- host: "flux-webhook.${SECRET_EXTERNAL_DOMAIN}" | ||
http: | ||
paths: | ||
- path: /hook/ | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: webhook-receiver | ||
port: | ||
number: 80 |
7 changes: 7 additions & 0 deletions
7
kubernetes/lianalabs/apps/flux-system/webhooks/app/github/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ./secret.sops.yaml | ||
- ./ingress.yaml | ||
- ./receiver.yaml |
26 changes: 26 additions & 0 deletions
26
kubernetes/lianalabs/apps/flux-system/webhooks/app/github/receiver.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
apiVersion: notification.toolkit.fluxcd.io/v1 | ||
kind: Receiver | ||
metadata: | ||
name: github-receiver | ||
namespace: flux-system | ||
spec: | ||
type: github | ||
events: | ||
- ping | ||
- push | ||
secretRef: | ||
name: github-webhook-token-secret | ||
resources: | ||
- apiVersion: source.toolkit.fluxcd.io/v1 | ||
kind: GitRepository | ||
name: home-kubernetes | ||
namespace: flux-system | ||
- apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
name: cluster | ||
namespace: flux-system | ||
- apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
name: cluster-apps | ||
namespace: flux-system |
29 changes: 29 additions & 0 deletions
29
kubernetes/lianalabs/apps/flux-system/webhooks/app/github/secret.sops.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# yamllint disable | ||
kind: Secret | ||
apiVersion: v1 | ||
type: Opaque | ||
metadata: | ||
name: github-webhook-token-secret | ||
namespace: flux-system | ||
stringData: | ||
token: ENC[AES256_GCM,data:9wDf7Er2S1jl/W2iD9MT6B0AqqiSAbXy1EOmbrLtC8wLbbXtrjLIgQ==,iv:deuscEmgTfDA5lY79WMEFiZb1u4CAslt1onnN/P8hcY=,tag:g84ndK2Bx0mpEn6jzOBf7A==,type:str] | ||
sops: | ||
kms: [] | ||
gcp_kms: [] | ||
azure_kv: [] | ||
hc_vault: [] | ||
age: | ||
- recipient: age19nu7uf8dageqlmzk23x7vl24fpn0l7cq20l3l4xxf2sk2xd5h98qss437p | ||
enc: | | ||
-----BEGIN AGE ENCRYPTED FILE----- | ||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBPYmhlMzlFU1A1UVpzYTlI | ||
Uml0SGxFbXRuUzUxK25lUEhQQUdoMkFLbEVJCi9TN3VuMUUranpocWY2UEVaZSt6 | ||
b00zYmVZbnBWZHVBRkdGeDkzclJ2K00KLS0tIC9pMXdTU2FwNXBGeDF2VkpGdmRs | ||
b0l1SXBTWnNVOTEzWWIzNG1uTnZsWGcKzJNgYZ/hMtpYuGLXkTlVQMpihN6WUKCX | ||
eLZ0X12I2k1d/Pk31wwYUTNwClgQ02djpACOm1nnzFtMtkql03zvBw== | ||
-----END AGE ENCRYPTED FILE----- | ||
lastmodified: "2024-11-21T21:00:48Z" | ||
mac: ENC[AES256_GCM,data:rj1jlGB7R4QPmmGHDcv0iHCy6Zn10i96bJ+Lb8OVwRQFRMquFuswR5SRTeSW/KvFDrFOyDszqanTXGwE2SFdifOqyNub6MK8vKqC3LbCPhXFBfEbY3ailxNx0ECIZyXlQN3l9w5DDqsW4tKEevG+sTwvFLxzN6cD1lcXgeX0rbs=,iv:Q7d6g7VQESRguM4ACPl5+PUcOZ3rqhtYulunne+zN1g=,tag:hci8EGGpIq/cOCKU9fiH4Q==,type:str] | ||
pgp: [] | ||
encrypted_regex: ^(data|stringData)$ | ||
version: 3.9.1 |
5 changes: 5 additions & 0 deletions
5
kubernetes/lianalabs/apps/flux-system/webhooks/app/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ./github |
56 changes: 56 additions & 0 deletions
56
kubernetes/lianalabs/apps/labs/homepage/app/resources/services.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,58 @@ | ||
--- | ||
- Network: | ||
# - OPNsense: | ||
# href: https://opnsense.${SECRET_OLD_DOMAIN} | ||
# siteMonitor: https://opnsense.${SECRET_OLD_DOMAIN} | ||
# icon: opnsense | ||
# description: RSS feed | ||
# widget: | ||
# type: opnsense | ||
# url: https://opnsense.${SECRET_OLD_DOMAIN} | ||
# key: "{{HOMEPAGE_VAR_OPNSENSE_TOKEN}}" | ||
- Services: | ||
- Miniflux: | ||
href: https://rss.${SECRET_INTERNAL_DOMAIN} | ||
siteMonitor: http://miniflux.labs.svc.cluster.local/healthcheck | ||
icon: miniflux | ||
description: RSS feed | ||
widget: | ||
type: miniflux | ||
url: http://miniflux.labs.svc.cluster.local | ||
key: "{{HOMEPAGE_VAR_MINIFLUX_TOKEN}}" | ||
- Media: | ||
- Jellyfin: | ||
href: https://${SECRET_MEDIA_DOMAIN} | ||
siteMonitor: https://${SECRET_MEDIA_DOMAIN} | ||
icon: jellyfin | ||
description: Media streaming | ||
widget: | ||
type: jellyfin | ||
url: https://${SECRET_MEDIA_DOMAIN} | ||
key: "{{HOMEPAGE_VAR_JELLYFIN_TOKEN}}" | ||
- Jellyfin: | ||
href: https://jellyseerr.${SECRET_MEDIA_DOMAIN} | ||
siteMonitor: https://jellyseerr.${SECRET_MEDIA_DOMAIN} | ||
icon: jellyseerr | ||
description: Media requests | ||
widget: | ||
type: jellyseerr | ||
url: https://jellyseerr.${SECRET_MEDIA_DOMAIN} | ||
key: "{{HOMEPAGE_VAR_JELLYSEERR_TOKEN}}" | ||
- Sonarr: | ||
href: https://sonarr.${SECRET_MEDIA_DOMAIN} | ||
siteMonitor: https://sonarr.${SECRET_MEDIA_DOMAIN} | ||
icon: sonarr | ||
description: TV | ||
widget: | ||
type: sonarr | ||
url: https://sonarr.${SECRET_MEDIA_DOMAIN} | ||
key: "{{HOMEPAGE_VAR_SONARR_TOKEN}}" | ||
- Radarr: | ||
href: https://radarr.${SECRET_MEDIA_DOMAIN} | ||
siteMonitor: https://radarr.${SECRET_MEDIA_DOMAIN} | ||
icon: radarr | ||
description: Movies | ||
widget: | ||
type: radarr | ||
url: https://radarr.${SECRET_MEDIA_DOMAIN} | ||
key: "{{HOMEPAGE_VAR_RADARR_TOKEN}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,8 @@ layout: | |
columns: 4 | ||
Services: | ||
tab: Main | ||
Tools: | ||
tab: Main | ||
Home: | ||
tab: Main | ||
Endpoints: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ resources: | |
- ./atuin/ks.yaml | ||
- ./it-tools/ks.yaml | ||
- ./cyberchef/ks.yaml | ||
- ./redlib/ks.yaml |
Oops, something went wrong.