Merge pull request #607 from 3dwardch3ng/app/chattts

App/chattts
This commit is contained in:
2024-07-22 14:11:14 +10:00
committed by GitHub
11 changed files with 72 additions and 30 deletions

View File

@@ -0,0 +1,30 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: chattts
namespace: chattts
labels:
app.kubernetes.io/name: chattts
spec:
selector:
matchLabels:
app.kubernetes.io/name: chattts
template:
metadata:
labels:
app.kubernetes.io/name: chattts
spec:
securityContext:
runAsUser: 1000
runAsGroup: 1000
containers:
- name: chattts
image: lcs13324/chattts:v1.0
securityContext:
allowPrivilegeEscalation: false
ports:
- protocol: TCP
containerPort: 8888
name: http
nodeSelector:
kubernetes.io/arch: amd64

View File

@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./deployment.yaml
- ./service.yaml

View File

@@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: chattts
namespace: chattts
labels:
app.kubernetes.io/name: chattts
spec:
selector:
app.kubernetes.io/name: chattts
type: ClusterIP
internalTrafficPolicy: Cluster
ports:
- protocol: TCP
port: 8888
targetPort: 8888
name: http

View File

@@ -1,10 +1,10 @@
{
"appName": "gitea",
"userGivenName": "gitea",
"namespace": "gitea",
"destNamespace": "gitea",
"appName": "chattts",
"userGivenName": "chattts",
"namespace": "chattts",
"destNamespace": "chattts",
"destServer": "https://kubernetes.default.svc",
"srcPath": "apps/gitea/env/k3s-cluster",
"srcPath": "apps/chattts/env/k3s-cluster",
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
"srcTargetRevision": "",
"labels": null,

View File

@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base

View File

@@ -1,5 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./development.yaml
- deployment.yaml
- ./service.yaml

View File

@@ -1,12 +0,0 @@
{
"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
}

View File

@@ -1,12 +0,0 @@
{
"appName": "couchdb",
"userGivenName": "couchdb",
"namespace": "couchdb",
"destNamespace": "couchdb",
"destServer": "https://kubernetes.default.svc",
"srcPath": "infrastructures/couchdb/env/k3s-cluster",
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
"srcTargetRevision": "",
"labels": null,
"annotations": null
}

View File

@@ -0,0 +1,9 @@
apiVersion: v1
kind: Namespace
metadata:
annotations:
argocd.argoproj.io/sync-options: Prune=false
creationTimestamp: null
name: chattts
spec: {}
status: {}

View File

@@ -5,6 +5,7 @@ resources:
- ./app-secrets.yaml
- ./app-volumes.yaml
- ./cert-manager.yaml
- ./chattts.yaml
- ./code-server.yaml
- ./coder.yaml
- ./consul.yaml