re-add apps for PV fixes
This commit is contained in:
12
apps/coder/env/k3s-cluster/config.json
vendored
Normal file
12
apps/coder/env/k3s-cluster/config.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"appName": "coder",
|
||||
"userGivenName": "coder",
|
||||
"namespace": "coder",
|
||||
"destNamespace": "coder",
|
||||
"destServer": "https://kubernetes.default.svc",
|
||||
"srcPath": "apps/coder/env/k3s-cluster",
|
||||
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
|
||||
"srcTargetRevision": "",
|
||||
"labels": null,
|
||||
"annotations": null
|
||||
}
|
||||
8
apps/coder/env/k3s-cluster/kustomization.yaml
vendored
Normal file
8
apps/coder/env/k3s-cluster/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
helmCharts:
|
||||
- name: coder
|
||||
repo: https://helm.coder.com/v2
|
||||
version: 2.13.1
|
||||
releaseName: coder
|
||||
valuesFile: values.yaml
|
||||
22
apps/coder/env/k3s-cluster/values.yaml
vendored
Normal file
22
apps/coder/env/k3s-cluster/values.yaml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
coder:
|
||||
env:
|
||||
- name: CODER_ACCESS_URL
|
||||
value: "https://coder.cluster.edward.sydney"
|
||||
- name: CODER_PG_CONNECTION_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
# You'll need to create a secret called coder-db-url with your
|
||||
# Postgres connection URL like:
|
||||
# postgres://coder:password@postgres:5432/coder?sslmode=disable
|
||||
name: coder-secrets
|
||||
key: db_url
|
||||
volumes:
|
||||
- name: coder-data
|
||||
persistentVolumeClaim:
|
||||
claimName: coder-pvc
|
||||
volumeMounts:
|
||||
- name: coder-data
|
||||
mountPath: /config
|
||||
service:
|
||||
type: NodePort
|
||||
httpNodePort: 31180
|
||||
12
apps/gitea/env/k3s-cluster/config.json
vendored
Normal file
12
apps/gitea/env/k3s-cluster/config.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"appName": "gitea",
|
||||
"userGivenName": "gitea",
|
||||
"namespace": "gitea",
|
||||
"destNamespace": "gitea",
|
||||
"destServer": "https://kubernetes.default.svc",
|
||||
"srcPath": "apps/gitea/env/k3s-cluster",
|
||||
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
|
||||
"srcTargetRevision": "",
|
||||
"labels": null,
|
||||
"annotations": null
|
||||
}
|
||||
8
apps/gitea/env/k3s-cluster/kustomization.yaml
vendored
Normal file
8
apps/gitea/env/k3s-cluster/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
helmCharts:
|
||||
- name: gitea
|
||||
repo: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 2.3.14
|
||||
releaseName: gitea
|
||||
valuesFile: values.yaml
|
||||
30
apps/gitea/env/k3s-cluster/values.yaml
vendored
Normal file
30
apps/gitea/env/k3s-cluster/values.yaml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
namespaceOverride: "gitea"
|
||||
podAntiAffinityPreset: ""
|
||||
adminUsername: "gitea_admin"
|
||||
adminEmail: "edward@cheng.sydney"
|
||||
appName: "gitea"
|
||||
existingSecret: "gitea-secrets"
|
||||
existingSecretKey: "admin-password"
|
||||
smtpHost: "smtp.gmail.com"
|
||||
smtpPort: "587"
|
||||
smtpUser: "me@edward.sydney"
|
||||
smtpExistingSecret: "gitea-secrets"
|
||||
persistence:
|
||||
existingClaim: "gitea-pvc"
|
||||
service:
|
||||
ports:
|
||||
http: 10080
|
||||
ssh: 10022
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: "nginx"
|
||||
hostname: "gitea.cluster.edward.sydney"
|
||||
serviceAccount:
|
||||
create: false
|
||||
postgresql:
|
||||
enabled: false
|
||||
externalDatabase:
|
||||
host: "postgresql-primary.argocd.svc.cluster.local"
|
||||
user: "gitea_user"
|
||||
existingSecret: "gitea-secrets"
|
||||
existingSecretPasswordKey: "db-password"
|
||||
8
apps/plex/base/kustomization.yaml
Normal file
8
apps/plex/base/kustomization.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
helmCharts:
|
||||
- name: plex-media-server
|
||||
repo: https://raw.githubusercontent.com/plexinc/pms-docker/gh-pages
|
||||
version: 0.4.0
|
||||
releaseName: plex-media-server
|
||||
valuesFile: values.yaml
|
||||
36
apps/plex/base/values.yaml
Normal file
36
apps/plex/base/values.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
pms:
|
||||
configExistingClaim: plex-config-pvc
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: amd64
|
||||
extraEnv:
|
||||
PLEX_CLAIM: "claim-EHVggvEm_aaX_E_szfyc"
|
||||
TZ: "Australia/Sydney"
|
||||
PLEX_UID: 1000
|
||||
PLEX_GID: 1000
|
||||
ALLOWED_NETWORKS: "0.0.0.0/0"
|
||||
extraVolumeMounts:
|
||||
- name: plex-tv
|
||||
mountPath: /tv
|
||||
- name: plex-movie
|
||||
mountPath: /movie
|
||||
- name: plex-music
|
||||
mountPath: /music
|
||||
- name: plex-gv
|
||||
mountPath: /gv
|
||||
extraVolumes:
|
||||
- name: plex-tv
|
||||
hostPath:
|
||||
path: /mnt/nfs/AppData/plex/tv
|
||||
type: Directory
|
||||
- name: plex-movie
|
||||
hostPath:
|
||||
path: /mnt/nfs/AppData/plex/movie
|
||||
type: Directory
|
||||
- name: plex-music
|
||||
hostPath:
|
||||
path: /mnt/nfs/AppData/plex/music
|
||||
type: Directory
|
||||
- name: plex-gv
|
||||
hostPath:
|
||||
path: /mnt/nfs/AppData/plex/gv
|
||||
type: Directory
|
||||
12
apps/plex/env/k3s-cluster/config.json
vendored
Normal file
12
apps/plex/env/k3s-cluster/config.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"appName": "plex",
|
||||
"userGivenName": "plex",
|
||||
"namespace": "plex",
|
||||
"destNamespace": "plex",
|
||||
"destServer": "https://kubernetes.default.svc",
|
||||
"srcPath": "apps/plex/env/k3s-cluster",
|
||||
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
|
||||
"srcTargetRevision": "",
|
||||
"labels": null,
|
||||
"annotations": null
|
||||
}
|
||||
4
apps/plex/env/k3s-cluster/kustomization.yaml
vendored
Normal file
4
apps/plex/env/k3s-cluster/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
12
apps/sonarqube/env/k3s-cluster/config.json
vendored
Normal file
12
apps/sonarqube/env/k3s-cluster/config.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"appName": "sonarqube",
|
||||
"userGivenName": "sonarqube",
|
||||
"namespace": "sonarqube",
|
||||
"destNamespace": "sonarqube",
|
||||
"destServer": "https://kubernetes.default.svc",
|
||||
"srcPath": "apps/sonarqube/env/k3s-cluster",
|
||||
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
|
||||
"srcTargetRevision": "",
|
||||
"labels": null,
|
||||
"annotations": null
|
||||
}
|
||||
8
apps/sonarqube/env/k3s-cluster/kustomization.yaml
vendored
Normal file
8
apps/sonarqube/env/k3s-cluster/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
helmCharts:
|
||||
- name: sonarqube
|
||||
repo: oci://registry-1.docker.io/bitnamicharts
|
||||
version: 5.2.10
|
||||
releaseName: sonarqube
|
||||
valuesFile: values.yaml
|
||||
41
apps/sonarqube/env/k3s-cluster/values.yaml
vendored
Normal file
41
apps/sonarqube/env/k3s-cluster/values.yaml
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
priorityClassName: system-cluster-critical
|
||||
podAntiAffinityPreset: ""
|
||||
namespaceOverride: "sonarqube"
|
||||
clusterDomain: sonarqube.cluster.edward.sydney
|
||||
sonarqubeUsername: sonarqube
|
||||
existingSecret: "sonarqube-secrets"
|
||||
sonarqubeEmail: "me@edward.sydney"
|
||||
smtpHost: "smtp.gmail.com"
|
||||
smtpPort: "587"
|
||||
smtpUser: "me@edward.sydney"
|
||||
smtpProtocol: "TLS"
|
||||
smtpExistingSecret: "sonarqube-secrets"
|
||||
podSecurityContext:
|
||||
fsGroup: 1000
|
||||
containerSecurityContext:
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
service:
|
||||
ports:
|
||||
http: 8090
|
||||
elastic: 9091
|
||||
nodePorts:
|
||||
http: 30089
|
||||
elastic: 30091
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: "nginx"
|
||||
hostname: "sonarqube.cluster.edward.sydney"
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: local-path
|
||||
size: "32Gi"
|
||||
existingClaim: "sonarqube-pvc"
|
||||
serviceAccount:
|
||||
name: "sonarqube"
|
||||
postgresql:
|
||||
enabled: false
|
||||
externalDatabase:
|
||||
host: "postgresql-primary.argocd.svc.cluster.local"
|
||||
user: "sonarqube_user"
|
||||
existingSecret: "sonarqube-secrets"
|
||||
Reference in New Issue
Block a user