Fixing cubox and base services
This commit is contained in:
@@ -41,13 +41,16 @@ helm:
|
||||
repo_url: https://cetic.github.io/helm-charts
|
||||
|
||||
apps:
|
||||
cert_manager:
|
||||
enabled: true
|
||||
|
||||
stash:
|
||||
enabled: true
|
||||
state: present
|
||||
namespace: stashapp
|
||||
|
||||
mariadb:
|
||||
enabled: true
|
||||
enabled: false
|
||||
namespace: mariadb
|
||||
pvc: data-mariadb-0
|
||||
state: present
|
||||
@@ -85,12 +88,12 @@ apps:
|
||||
chart_version: 4.5 # https://github.com/nextcloud/helm/releases?page=2
|
||||
|
||||
hello_world:
|
||||
enabled: true
|
||||
enabled: false
|
||||
namespace: default
|
||||
state: absent
|
||||
|
||||
funkwhale:
|
||||
enabled: true
|
||||
enabled: false
|
||||
namespace: funkwhale
|
||||
state: present
|
||||
|
||||
@@ -106,6 +109,6 @@ apps:
|
||||
image:
|
||||
|
||||
backstage:
|
||||
enabled: true
|
||||
enabled: false
|
||||
namespace: backstage
|
||||
state: present
|
||||
|
||||
@@ -14,15 +14,15 @@ spec:
|
||||
dnsNames:
|
||||
- xai-corp.net
|
||||
- git.xai-corp.net
|
||||
- tunedb.xai-corp.net
|
||||
# - tunedb.xai-corp.net
|
||||
- www.xai-corp.net
|
||||
- xaibox.xai-corp.net
|
||||
- sql.xai-corp.net
|
||||
- cik.xai-corp.net
|
||||
# - cik.xai-corp.net
|
||||
- stash.xai-corp.net
|
||||
- dkregistry.xai-corp.net
|
||||
- funkwhale.xai-corp.net
|
||||
- backstage.xai-corp.net
|
||||
# - backstage.xai-corp.net
|
||||
acme:
|
||||
config:
|
||||
- http01:
|
||||
|
||||
17
ansible-5/roles/prod.k3s/files/stash/pv03.yaml
Normal file
17
ansible-5/roles/prod.k3s/files/stash/pv03.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
# persistent volume
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: plex-pv-local-03
|
||||
labels:
|
||||
type: local
|
||||
spec:
|
||||
storageClassName: manual
|
||||
capacity:
|
||||
storage: 300Gi
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
hostPath:
|
||||
path: "/opt/data/T2/secure/app"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
image:
|
||||
repository: stashapp/stash
|
||||
tag: v0.26.2
|
||||
tag: v0.27.2
|
||||
|
||||
ingress:
|
||||
main:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
state: present
|
||||
definition: "{{ lookup('file', item) | from_yaml }}"
|
||||
loop:
|
||||
- stash/pv02.yaml
|
||||
- stash/pv03.yaml
|
||||
- stash/pv-claim.yaml
|
||||
# - stash/pv-media.yaml
|
||||
# - stash/pv-media-claim.yaml
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# provisioning services in k3s cluster
|
||||
|
||||
# mount gluster
|
||||
- include_tasks: gluster.fstab.yml
|
||||
#- include_tasks: gluster.fstab.yml
|
||||
#
|
||||
## add helm repositories
|
||||
#- include_tasks: add_repos.yml
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
- name: deploy cert_manager
|
||||
include_tasks: cert_manager.yml
|
||||
when: apps.cert_manager.enabled
|
||||
|
||||
- name: deploy stash
|
||||
include_tasks: deployments/stash.yaml
|
||||
|
||||
@@ -13,5 +13,5 @@ spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
hostPath:
|
||||
path: "/opt/data/shared/dkregistry/auth"
|
||||
path: "/opt/data/T2/shared/dkregistry/auth"
|
||||
|
||||
|
||||
@@ -13,5 +13,5 @@ spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
hostPath:
|
||||
path: "/opt/data/shared/dkregistry/data"
|
||||
path: "/opt/data/T2/shared/dkregistry/data"
|
||||
|
||||
|
||||
@@ -13,5 +13,5 @@ spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
hostPath:
|
||||
path: "/opt/data/gitea"
|
||||
path: "/opt/data/T2/gitea/gitea"
|
||||
|
||||
|
||||
@@ -13,5 +13,5 @@ spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
hostPath:
|
||||
path: "/opt/data/db/mariadb-10.9"
|
||||
path: "/opt/data/T2/db/db/mariadb-10.9"
|
||||
|
||||
|
||||
@@ -13,5 +13,5 @@ spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
hostPath:
|
||||
path: "/opt/data/db/postgres-15.1"
|
||||
path: "/opt/data/T2/db/db/postgres-15.1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user