-
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
58 changed files
with
1,380 additions
and
124 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
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 |
100 changes: 100 additions & 0 deletions
100
kubernetes/lianalabs/apps/labs/redlib/app/helmrelease.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,100 @@ | ||
--- | ||
apiVersion: helm.toolkit.fluxcd.io/v2 | ||
kind: HelmRelease | ||
metadata: | ||
name: &app redlib | ||
spec: | ||
interval: 30m | ||
chart: | ||
spec: | ||
chart: app-template | ||
version: 3.2.1 | ||
sourceRef: | ||
kind: HelmRepository | ||
name: bjw-s | ||
namespace: flux-system | ||
install: | ||
remediation: | ||
retries: 3 | ||
upgrade: | ||
cleanupOnFail: true | ||
remediation: | ||
strategy: rollback | ||
retries: 3 | ||
values: | ||
controllers: | ||
redlib: | ||
annotations: | ||
reloader.stakater.com/auto: "true" | ||
containers: | ||
app: | ||
image: | ||
repository: quay.io/redlib/redlib:latest | ||
tag: latest | ||
env: | ||
LIBREDDIT_DEFAULT_THEME: gruvboxdark | ||
LIBREDDIT_DEFAULT_WIDE: on | ||
LIBREDDIT_DEFAULT_USE_HLS: on | ||
LIBREDDIT_DEFAULT_HIDE_HLS_NOTIFICATION: on | ||
LIBREDDIT_DEFAULT_POST_SORT: "hot" | ||
LIBREDDIT_DEFAULT_SHOW_NSFW: on | ||
LIBREDDIT_DEFAULT_BLUR_NSFW: on | ||
TZ: ${TIMEZONE} | ||
probes: | ||
liveness: &probes | ||
enabled: true | ||
custom: true | ||
spec: | ||
httpGet: | ||
path: &path /settings | ||
port: &port 8080 | ||
initialDelaySeconds: 0 | ||
periodSeconds: 10 | ||
timeoutSeconds: 1 | ||
failureThreshold: 3 | ||
readiness: *probes | ||
resources: | ||
requests: | ||
cpu: 12m | ||
memory: 64Mi | ||
limits: | ||
memory: 256Mi | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
readOnlyRootFilesystem: true | ||
capabilities: | ||
drop: | ||
- ALL | ||
securityContext: | ||
runAsNonRoot: true | ||
runAsUser: 1000 | ||
runAsGroup: 1000 | ||
ingress: | ||
app: | ||
className: traefik | ||
annotations: | ||
cert-manager.io/cluster-issuer: "letsencrypt-production" | ||
gethomepage.dev/enabled: "true" | ||
gethomepage.dev/group: Services | ||
gethomepage.dev/name: Redlib | ||
gethomepage.dev/description: Reddit client with privacy features | ||
gethomepage.dev/icon: redlib | ||
hosts: | ||
- host: &host "redlib.${SECRET_INTERNAL_DOMAIN}" | ||
paths: &paths | ||
- path: / | ||
service: | ||
identifier: app | ||
port: http | ||
- host: &customHost reddit.${SECRET_INTERNAL_DOMAIN} | ||
paths: *paths | ||
tls: | ||
- hosts: | ||
- *host | ||
- *customHost | ||
service: | ||
app: | ||
controller: *app | ||
ports: | ||
http: | ||
port: *port |
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,8 @@ | ||
--- | ||
# yaml-language-server: $schema=https://json.schemastore.org/kustomization | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ./secret.sops.yaml | ||
- ./helmrelease.yaml | ||
- ../../../database/cloudnative-pg/app/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,26 @@ | ||
--- | ||
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
name: &app redlib | ||
namespace: flux-system | ||
spec: | ||
targetNamespace: labs | ||
commonMetadata: | ||
labels: | ||
app.kubernetes.io/name: *app | ||
dependsOn: | ||
- name: traefik | ||
path: ./kubernetes/lianalabs/apps/labs/redlib/app | ||
prune: true | ||
sourceRef: | ||
kind: GitRepository | ||
name: k8s-gitops | ||
wait: false | ||
interval: 30m | ||
retryInterval: 1m | ||
timeout: 5m | ||
postBuild: | ||
substitute: | ||
APP: *app |
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 | |
kind: Kustomization | ||
resources: | ||
- ./namespace.yaml | ||
- ./piped/ks.yaml |
Oops, something went wrong.