Compare commits
32 Commits
c169053f85
...
renovate/e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc94004051 | ||
|
|
9073ff9094 | ||
|
|
52b3ee5eaa | ||
|
|
078148732b | ||
|
|
5a5caf45ee | ||
|
|
2080d3d913 | ||
|
|
797dc958d2 | ||
| bbfc8bbb27 | |||
| a5f0a6b081 | |||
| 1bf0be751b | |||
| 91ecd3b4c1 | |||
| f5b3b5efe5 | |||
| 657c26e122 | |||
| 49aa5f32f0 | |||
| a186c62acd | |||
| 3818186562 | |||
| e2517be2b6 | |||
|
|
db123ab04f | ||
|
|
2a206af9f6 | ||
|
|
1f12d004d7 | ||
| a9dc9a5cb7 | |||
| bbe1014a37 | |||
| 8ffb57e1b7 | |||
| 09961b68f9 | |||
| 1352394ca5 | |||
| 4fd96cf953 | |||
|
|
680e0822a6 | ||
|
|
3c0f9a713d | ||
|
|
f9e156e522 | ||
|
|
5861f677a4 | ||
|
|
aa92ad14ef | ||
|
|
fd2df98297 |
@@ -7,7 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 📥Checkout
|
- name: 📥Checkout
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v6
|
||||||
- name: 🚀Validating the manifests
|
- name: 🚀Validating the manifests
|
||||||
uses: frenck/action-yamllint@v1.5.0
|
uses: frenck/action-yamllint@v1.5.0
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ spec:
|
|||||||
name: in-cluster
|
name: in-cluster
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
|
- ServerSideApply=true
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
|
|||||||
@@ -2,15 +2,15 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: AppProject
|
kind: AppProject
|
||||||
metadata:
|
metadata:
|
||||||
name: osx
|
name: kaneo
|
||||||
spec:
|
spec:
|
||||||
description: osx container to proxy shortcuts
|
description: Project Management
|
||||||
sourceRepos:
|
sourceRepos:
|
||||||
- '*'
|
- '*'
|
||||||
sourceNamespaces:
|
sourceNamespaces:
|
||||||
- '*'
|
- '*'
|
||||||
destinations:
|
destinations:
|
||||||
- namespace: 'osx'
|
- namespace: 'kaneo'
|
||||||
server: '*'
|
server: '*'
|
||||||
clusterResourceWhitelist:
|
clusterResourceWhitelist:
|
||||||
- group: '*'
|
- group: '*'
|
||||||
@@ -1,20 +1,20 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: osx
|
name: kaneo
|
||||||
namespace: osx
|
namespace: kaneo
|
||||||
labels:
|
labels:
|
||||||
platform.dgse.cloud/cluster: artemis
|
platform.dgse.cloud/cluster: artemis
|
||||||
finalizers:
|
finalizers:
|
||||||
- resources-finalizer.argocd.argoproj.io
|
- resources-finalizer.argocd.argoproj.io
|
||||||
spec:
|
spec:
|
||||||
project: osx
|
project: kaneo
|
||||||
source:
|
source:
|
||||||
repoURL: 'https://git.dgse.cloud/DGSE/kubernetes.git'
|
repoURL: 'https://git.dgse.cloud/DGSE/kubernetes.git'
|
||||||
path: manifests/artemis/osx
|
path: manifests/artemis/kaneo
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
destination:
|
destination:
|
||||||
namespace: osx
|
namespace: kaneo
|
||||||
name: in-cluster
|
name: in-cluster
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
syncOptions:
|
syncOptions:
|
||||||
@@ -13,9 +13,7 @@ resources:
|
|||||||
- pocket-id
|
- pocket-id
|
||||||
- vaultwarden
|
- vaultwarden
|
||||||
- mailu
|
- mailu
|
||||||
- ntfy
|
|
||||||
- penpot
|
- penpot
|
||||||
- immich
|
- immich
|
||||||
- digital-garden
|
- digital-garden
|
||||||
- nextcloud
|
- kaneo
|
||||||
- osx
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
name: argocd
|
name: argocd
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- github.com/argoproj/argo-cd/manifests/cluster-install?ref=v3.2.0
|
- github.com/argoproj/argo-cd/manifests/cluster-install?ref=v3.2.6
|
||||||
- ingressRoute.yaml
|
- ingressRoute.yaml
|
||||||
- certificate.yaml
|
- certificate.yaml
|
||||||
- backstage-sa.yaml
|
- backstage-sa.yaml
|
||||||
|
|||||||
@@ -10,6 +10,6 @@ resources:
|
|||||||
helmCharts:
|
helmCharts:
|
||||||
- name: external-secrets
|
- name: external-secrets
|
||||||
repo: https://charts.external-secrets.io/
|
repo: https://charts.external-secrets.io/
|
||||||
version: 0.20.4
|
version: 2.0.0
|
||||||
releaseName: external-secrets
|
releaseName: external-secrets
|
||||||
namespace: external-secrets
|
namespace: external-secrets
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
helmCharts:
|
helmCharts:
|
||||||
- name: gitea
|
- name: gitea
|
||||||
repo: https://dl.gitea.com/charts/
|
repo: https://dl.gitea.com/charts/
|
||||||
version: 12.4.0
|
version: 12.5.0
|
||||||
releaseName: gitea
|
releaseName: gitea
|
||||||
namespace: gitea
|
namespace: gitea
|
||||||
valuesFile: values.yaml
|
valuesFile: values.yaml
|
||||||
|
|||||||
@@ -645,11 +645,11 @@ postgresql-ha:
|
|||||||
password: changeme4
|
password: changeme4
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 1000m
|
cpu: 2000m
|
||||||
memory: 1Gi
|
memory: 2Gi
|
||||||
requests:
|
requests:
|
||||||
cpu: 750m
|
cpu: 1500m
|
||||||
memory: 750Mi
|
memory: 2Gi
|
||||||
|
|
||||||
## @param postgresql-ha.pgpool.adminPassword pgpool adminPassword
|
## @param postgresql-ha.pgpool.adminPassword pgpool adminPassword
|
||||||
## @param postgresql-ha.pgpool.image.repository Image repository, eg. `bitnamilegacy/pgpool`.
|
## @param postgresql-ha.pgpool.image.repository Image repository, eg. `bitnamilegacy/pgpool`.
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ resources:
|
|||||||
helmCharts:
|
helmCharts:
|
||||||
- name: immich
|
- name: immich
|
||||||
repo: https://immich-app.github.io/immich-charts
|
repo: https://immich-app.github.io/immich-charts
|
||||||
version: 0.10.1
|
version: 0.10.3
|
||||||
releaseName: immich
|
releaseName: immich
|
||||||
namespace: immich
|
namespace: immich
|
||||||
valuesFile: values.yaml
|
valuesFile: values.yaml
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ server:
|
|||||||
secretName: immich-tls
|
secretName: immich-tls
|
||||||
|
|
||||||
machine-learning:
|
machine-learning:
|
||||||
enabled: true
|
enabled: false
|
||||||
controllers:
|
controllers:
|
||||||
main:
|
main:
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
---
|
# ---
|
||||||
apiVersion: v1
|
# apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
# kind: PersistentVolumeClaim
|
||||||
metadata:
|
# metadata:
|
||||||
name: immich-ml-pvc
|
# name: immich-ml-pvc
|
||||||
spec:
|
# spec:
|
||||||
storageClassName: local-path
|
# storageClassName: local-path
|
||||||
accessModes:
|
# accessModes:
|
||||||
- ReadWriteOnce
|
# - ReadWriteOnce
|
||||||
resources:
|
# resources:
|
||||||
requests:
|
# requests:
|
||||||
storage: 10Gi
|
# storage: 10Gi
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
|||||||
16
manifests/artemis/kaneo/kustomization.yaml
Normal file
16
manifests/artemis/kaneo/kustomization.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
metadata:
|
||||||
|
name: kaneo
|
||||||
|
|
||||||
|
#resources:
|
||||||
|
# - secret.yaml
|
||||||
|
|
||||||
|
helmCharts:
|
||||||
|
- name: charts/kaneo
|
||||||
|
repo: https://github.com/usekaneo/kaneo
|
||||||
|
version: 0.1.0
|
||||||
|
releaseName: kaneo
|
||||||
|
namespace: kaneo
|
||||||
|
valuesFile: values.yaml
|
||||||
183
manifests/artemis/kaneo/values.yaml
Normal file
183
manifests/artemis/kaneo/values.yaml
Normal file
@@ -0,0 +1,183 @@
|
|||||||
|
# Global values
|
||||||
|
nameOverride: ""
|
||||||
|
fullnameOverride: ""
|
||||||
|
replicaCount: 1
|
||||||
|
# Autoscaling configuration
|
||||||
|
autoscaling:
|
||||||
|
enabled: false
|
||||||
|
minReplicas: 1
|
||||||
|
maxReplicas: 10
|
||||||
|
targetCPUUtilizationPercentage: 80
|
||||||
|
# targetMemoryUtilizationPercentage: 80
|
||||||
|
# Pod configuration
|
||||||
|
podAnnotations: {}
|
||||||
|
podSecurityContext: {}
|
||||||
|
nodeSelector: {}
|
||||||
|
tolerations: []
|
||||||
|
affinity: {}
|
||||||
|
# Service account configuration
|
||||||
|
serviceAccount:
|
||||||
|
create: true
|
||||||
|
annotations: {}
|
||||||
|
name: ""
|
||||||
|
# PostgreSQL database configuration
|
||||||
|
postgresql:
|
||||||
|
# Set to true to deploy PostgreSQL as part of this chart
|
||||||
|
enabled: true
|
||||||
|
image:
|
||||||
|
repository: postgres
|
||||||
|
tag: 16-alpine
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
# Database configuration
|
||||||
|
auth:
|
||||||
|
database: kaneo
|
||||||
|
username: kaneo_user
|
||||||
|
password: kaneo_password
|
||||||
|
# Use existing secret for database credentials (optional)
|
||||||
|
existingSecret: ""
|
||||||
|
secretKeys:
|
||||||
|
adminPasswordKey: postgres-password
|
||||||
|
userPasswordKey: password
|
||||||
|
# Persistence for PostgreSQL data
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
size: 8Gi
|
||||||
|
storageClass: ""
|
||||||
|
accessMode: ReadWriteOnce
|
||||||
|
# PostgreSQL service configuration
|
||||||
|
service:
|
||||||
|
type: ClusterIP
|
||||||
|
port: 5432
|
||||||
|
# Resources for PostgreSQL
|
||||||
|
resources: {}
|
||||||
|
# resources:
|
||||||
|
# limits:
|
||||||
|
# cpu: 500m
|
||||||
|
# memory: 512Mi
|
||||||
|
# requests:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
# API backend configuration
|
||||||
|
api:
|
||||||
|
image:
|
||||||
|
repository: ghcr.io/usekaneo/api
|
||||||
|
tag: latest
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
securityContext: {}
|
||||||
|
service:
|
||||||
|
type: ClusterIP
|
||||||
|
port: 1337
|
||||||
|
targetPort: 1337
|
||||||
|
# Resources are optional and disabled by default
|
||||||
|
resources: {}
|
||||||
|
# resources:
|
||||||
|
# limits:
|
||||||
|
# cpu: 500m
|
||||||
|
# memory: 512Mi
|
||||||
|
# requests:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
|
||||||
|
# Environment variables for the API
|
||||||
|
env:
|
||||||
|
jwtAccess: appelflap
|
||||||
|
existingSecret:
|
||||||
|
enabled: false
|
||||||
|
name: ""
|
||||||
|
key: jwt-access
|
||||||
|
disableRegistration: false
|
||||||
|
# Database configuration
|
||||||
|
database:
|
||||||
|
# Use external PostgreSQL (set postgresql.enabled to false)
|
||||||
|
# Important: when using external postgres, make sure you have set up the db user correctly:
|
||||||
|
# CREATE DATABASE kaneo;
|
||||||
|
# CREATE USER kaneo_user WITH PASSWORD 'your_password';
|
||||||
|
# GRANT ALL PRIVILEGES ON DATABASE kaneo TO kaneo_user;
|
||||||
|
# \c kaneo;
|
||||||
|
# GRANT USAGE ON SCHEMA public TO kaneo_user;
|
||||||
|
# GRANT CREATE ON SCHEMA public TO kaneo_user;
|
||||||
|
# ALTER SCHEMA public OWNER TO kaneo_user;
|
||||||
|
external:
|
||||||
|
enabled: false
|
||||||
|
host: ""
|
||||||
|
port: 5432
|
||||||
|
database: kaneo
|
||||||
|
username: kaneo_user
|
||||||
|
password: ""
|
||||||
|
# Use existing secret for external database credentials in the form of a uri, e.g.: "postgresql://user:pass@host:port/db"
|
||||||
|
existingSecret:
|
||||||
|
enabled: false
|
||||||
|
name: ""
|
||||||
|
passwordKey: postgres_uri
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /me
|
||||||
|
port: api
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 10
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /me
|
||||||
|
port: api
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 10
|
||||||
|
# Web frontend configuration
|
||||||
|
web:
|
||||||
|
image:
|
||||||
|
repository: ghcr.io/usekaneo/web
|
||||||
|
tag: latest
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
# Environment variables for the Web
|
||||||
|
env:
|
||||||
|
# Optional: Override the default API URL (http://localhost:1337)
|
||||||
|
# The /api path will be automatically appended to the URL
|
||||||
|
# Make sure this url matches the ingress host
|
||||||
|
# apiUrl: "https://kaneo.example.com"
|
||||||
|
apiUrl: ""
|
||||||
|
securityContext: {}
|
||||||
|
service:
|
||||||
|
type: ClusterIP
|
||||||
|
port: 80
|
||||||
|
targetPort: 80
|
||||||
|
# Resources are optional and disabled by default
|
||||||
|
resources: {}
|
||||||
|
# resources:
|
||||||
|
# limits:
|
||||||
|
# cpu: 300m
|
||||||
|
# memory: 256Mi
|
||||||
|
# requests:
|
||||||
|
# cpu: 100m
|
||||||
|
# memory: 128Mi
|
||||||
|
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: web
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 10
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: web
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 10
|
||||||
|
# Ingress configuration
|
||||||
|
ingress:
|
||||||
|
enabled: true
|
||||||
|
className: traefik
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt
|
||||||
|
hosts:
|
||||||
|
# Use the same host in the web env variable apiUrl (with http:// or https://)
|
||||||
|
- host: projects.dgse.cloud
|
||||||
|
paths:
|
||||||
|
- path: /?(.*)
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
service: web
|
||||||
|
port: 80
|
||||||
|
- path: /api/?(.*)
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
service: api
|
||||||
|
port: 1337
|
||||||
|
tls:
|
||||||
|
- projects.dgse.cloud
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
apiVersion: postgresql.cnpg.io/v1
|
|
||||||
kind: Cluster
|
|
||||||
metadata:
|
|
||||||
name: kener-postgres
|
|
||||||
spec:
|
|
||||||
instances: 1
|
|
||||||
managed:
|
|
||||||
roles:
|
|
||||||
- name: kener
|
|
||||||
superuser: true
|
|
||||||
login: true
|
|
||||||
bootstrap:
|
|
||||||
initdb:
|
|
||||||
database: kener
|
|
||||||
owner: kener
|
|
||||||
secret:
|
|
||||||
name: kener-postgres-user
|
|
||||||
|
|
||||||
storage:
|
|
||||||
size: 4Gi
|
|
||||||
storageClass: local-path
|
|
||||||
@@ -1,79 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: kener
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: kener
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: kener
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: kener
|
|
||||||
image: rajnandan1/kener:latest
|
|
||||||
ports:
|
|
||||||
- containerPort: 3000
|
|
||||||
name: http
|
|
||||||
volumeMounts:
|
|
||||||
- name: kener-uploads
|
|
||||||
mountPath: "/app/uploads"
|
|
||||||
env:
|
|
||||||
- name: ORIGIN
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: kener-secret
|
|
||||||
key: ORIGIN
|
|
||||||
- name: DATABASE_URL
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: kener-secret
|
|
||||||
key: DATABASE_URL
|
|
||||||
- name: KENER_SECRET_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: kener-secret
|
|
||||||
key: KENER_SECRET_KEY
|
|
||||||
- name: SMTP_HOST
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: kener-secret
|
|
||||||
key: SMTP_HOST
|
|
||||||
- name: SMTP_PORT
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: kener-secret
|
|
||||||
key: SMTP_PORT
|
|
||||||
- name: SMTP_USER
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: kener-secret
|
|
||||||
key: SMTP_USER
|
|
||||||
- name: SMTP_PASS
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: kener-secret
|
|
||||||
key: SMTP_PASS
|
|
||||||
- name: SMTP_SECURE
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: kener-secret
|
|
||||||
key: SMTP_SECURE
|
|
||||||
- name: SMTP_FROM_EMAIL
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: kener-secret
|
|
||||||
key: SMTP_FROM_EMAIL
|
|
||||||
- name: TZ
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: kener-secret
|
|
||||||
key: TZ
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: kener-uploads
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: kener-pvc
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt
|
|
||||||
name: kener-ingress
|
|
||||||
spec:
|
|
||||||
rules:
|
|
||||||
- host: monitor.dgse.cloud
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- backend:
|
|
||||||
service:
|
|
||||||
name: kener
|
|
||||||
port:
|
|
||||||
number: 3000
|
|
||||||
path: /
|
|
||||||
pathType: Prefix
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- monitor.dgse.cloud
|
|
||||||
secretName: letsencrypt
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
metadata:
|
|
||||||
name: kener
|
|
||||||
|
|
||||||
resources:
|
|
||||||
- secret.yaml
|
|
||||||
- db-cluster.yaml
|
|
||||||
- service.yaml
|
|
||||||
- pvc.yaml
|
|
||||||
- deployment.yaml
|
|
||||||
- ingress.yaml
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: kener-pvc
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 20Gi
|
|
||||||
@@ -1,74 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: kener-secret
|
|
||||||
spec:
|
|
||||||
refreshInterval: 1h
|
|
||||||
secretStoreRef:
|
|
||||||
name: platform
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
target:
|
|
||||||
name: kener-secret
|
|
||||||
data:
|
|
||||||
- secretKey: ORIGIN
|
|
||||||
remoteRef:
|
|
||||||
key: kener
|
|
||||||
property: ORIGIN
|
|
||||||
- secretKey: DATABASE_URL
|
|
||||||
remoteRef:
|
|
||||||
key: kener
|
|
||||||
property: DATABASE_URL
|
|
||||||
- secretKey: KENER_SECRET_KEY
|
|
||||||
remoteRef:
|
|
||||||
key: kener
|
|
||||||
property: KENER_SECRET_KEY
|
|
||||||
- secretKey: SMTP_HOST
|
|
||||||
remoteRef:
|
|
||||||
key: kener
|
|
||||||
property: SMTP_HOST
|
|
||||||
- secretKey: SMTP_PORT
|
|
||||||
remoteRef:
|
|
||||||
key: kener
|
|
||||||
property: SMTP_PORT
|
|
||||||
- secretKey: SMTP_USER
|
|
||||||
remoteRef:
|
|
||||||
key: kener
|
|
||||||
property: SMTP_USER
|
|
||||||
- secretKey: SMTP_PASS
|
|
||||||
remoteRef:
|
|
||||||
key: kener
|
|
||||||
property: SMTP_PASS
|
|
||||||
- secretKey: SMTP_SECURE
|
|
||||||
remoteRef:
|
|
||||||
key: kener
|
|
||||||
property: SMTP_SECURE
|
|
||||||
- secretKey: SMTP_FROM_EMAIL
|
|
||||||
remoteRef:
|
|
||||||
key: kener
|
|
||||||
property: SMTP_FROM_EMAIL
|
|
||||||
- secretKey: TZ
|
|
||||||
remoteRef:
|
|
||||||
key: kener
|
|
||||||
property: TZ
|
|
||||||
---
|
|
||||||
apiVersion: external-secrets.io/v1
|
|
||||||
kind: ExternalSecret
|
|
||||||
metadata:
|
|
||||||
name: kener-postgres-user
|
|
||||||
spec:
|
|
||||||
refreshInterval: 1h
|
|
||||||
secretStoreRef:
|
|
||||||
name: platform
|
|
||||||
kind: ClusterSecretStore
|
|
||||||
target:
|
|
||||||
name: kener-postgres-user
|
|
||||||
data:
|
|
||||||
- secretKey: username
|
|
||||||
remoteRef:
|
|
||||||
key: kener
|
|
||||||
property: postgres_username
|
|
||||||
- secretKey: password
|
|
||||||
remoteRef:
|
|
||||||
key: kener
|
|
||||||
property: postgres_password
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: kener
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app: kener
|
|
||||||
ports:
|
|
||||||
- protocol: TCP
|
|
||||||
port: 3000
|
|
||||||
targetPort: 3000
|
|
||||||
@@ -10,7 +10,7 @@ resources:
|
|||||||
helmCharts:
|
helmCharts:
|
||||||
- name: mailu
|
- name: mailu
|
||||||
repo: https://mailu.github.io/helm-charts/
|
repo: https://mailu.github.io/helm-charts/
|
||||||
version: 2.1.2
|
version: 2.6.3
|
||||||
releaseName: mailu
|
releaseName: mailu
|
||||||
namespace: mailu
|
namespace: mailu
|
||||||
valuesFile: values.yaml
|
valuesFile: values.yaml
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: Middleware
|
|
||||||
metadata:
|
|
||||||
name: basic-auth
|
|
||||||
spec:
|
|
||||||
basicAuth:
|
|
||||||
secret: basic-auth
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: ntfy
|
|
||||||
data:
|
|
||||||
server.yml: |
|
|
||||||
# Template: https://github.com/binwiederhier/ntfy/blob/main/server/server.yml
|
|
||||||
base-url: https://notifications.dgse.cloud
|
|
||||||
enable-login: true
|
|
||||||
enable-signup: false
|
|
||||||
upstream-base-url: "https://ntfy.sh"
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: ntfy
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: ntfy
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: ntfy
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: ntfy
|
|
||||||
image: binwiederhier/ntfy
|
|
||||||
args: ["serve"]
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
memory: "128Mi"
|
|
||||||
cpu: "500m"
|
|
||||||
ports:
|
|
||||||
- containerPort: 80
|
|
||||||
name: http
|
|
||||||
volumeMounts:
|
|
||||||
- name: config
|
|
||||||
mountPath: "/etc/ntfy"
|
|
||||||
readOnly: true
|
|
||||||
volumes:
|
|
||||||
- name: config
|
|
||||||
configMap:
|
|
||||||
name: ntfy
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: ntfy-ingress
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`notifications.dgse.cloud`)
|
|
||||||
kind: Rule
|
|
||||||
middlewares:
|
|
||||||
- name: basic-auth
|
|
||||||
services:
|
|
||||||
- name: ntfy
|
|
||||||
port: 80
|
|
||||||
tls:
|
|
||||||
secretName: letsencrypt
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
# Basic service for port 80
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: ntfy
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
app: ntfy
|
|
||||||
ports:
|
|
||||||
- port: 80
|
|
||||||
targetPort: 80
|
|
||||||
@@ -1,58 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: macos
|
|
||||||
labels:
|
|
||||||
name: macos
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: macos
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: macos
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: macos
|
|
||||||
image: dockurr/macos
|
|
||||||
env:
|
|
||||||
- name: VERSION
|
|
||||||
value: "14"
|
|
||||||
- name: DISK_SIZE
|
|
||||||
value: "64G"
|
|
||||||
- name: KVM
|
|
||||||
value: "N"
|
|
||||||
ports:
|
|
||||||
- containerPort: 8006
|
|
||||||
name: http
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 5900
|
|
||||||
name: vnc
|
|
||||||
protocol: TCP
|
|
||||||
securityContext:
|
|
||||||
capabilities:
|
|
||||||
add:
|
|
||||||
- NET_ADMIN
|
|
||||||
privileged: true
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /storage
|
|
||||||
name: storage
|
|
||||||
- mountPath: /dev/kvm
|
|
||||||
name: dev-kvm
|
|
||||||
- mountPath: /dev/net/tun
|
|
||||||
name: dev-tun
|
|
||||||
terminationGracePeriodSeconds: 120
|
|
||||||
volumes:
|
|
||||||
- name: storage
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: macos-pvc
|
|
||||||
- hostPath:
|
|
||||||
path: /dev/kvm
|
|
||||||
name: dev-kvm
|
|
||||||
- hostPath:
|
|
||||||
path: /dev/net/tun
|
|
||||||
type: CharDevice
|
|
||||||
name: dev-tun
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
annotations:
|
|
||||||
cert-manager.io/cluster-issuer: letsencrypt
|
|
||||||
name: osx-ingress
|
|
||||||
spec:
|
|
||||||
rules:
|
|
||||||
- host: osx.dgse.cloud
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- backend:
|
|
||||||
service:
|
|
||||||
name: macos
|
|
||||||
port:
|
|
||||||
number: 8006
|
|
||||||
path: /
|
|
||||||
pathType: Prefix
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- osx.dgse.cloud
|
|
||||||
secretName: letsencrypt
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
|
|
||||||
resources:
|
|
||||||
- service.yaml
|
|
||||||
- deployment.yaml
|
|
||||||
- pvc.yaml
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: macos-pvc
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 64Gi
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: macos
|
|
||||||
spec:
|
|
||||||
internalTrafficPolicy: Cluster
|
|
||||||
ports:
|
|
||||||
- name: http
|
|
||||||
port: 8006
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 8006
|
|
||||||
- name: vnc
|
|
||||||
port: 5900
|
|
||||||
protocol: TCP
|
|
||||||
targetPort: 5900
|
|
||||||
selector:
|
|
||||||
app: macos
|
|
||||||
type: ClusterIP
|
|
||||||
@@ -10,7 +10,7 @@ resources:
|
|||||||
helmCharts:
|
helmCharts:
|
||||||
- name: penpot
|
- name: penpot
|
||||||
repo: http://helm.penpot.app
|
repo: http://helm.penpot.app
|
||||||
version: 0.28.0
|
version: 0.32.0
|
||||||
releaseName: penpot
|
releaseName: penpot
|
||||||
namespace: penpot
|
namespace: penpot
|
||||||
valuesFile: values.yaml
|
valuesFile: values.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user