30
apps/chattts/base/deployment.yaml
Normal file
30
apps/chattts/base/deployment.yaml
Normal 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
|
||||
5
apps/chattts/base/kustomization.yaml
Normal file
5
apps/chattts/base/kustomization.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./deployment.yaml
|
||||
- ./service.yaml
|
||||
17
apps/chattts/base/service.yaml
Normal file
17
apps/chattts/base/service.yaml
Normal 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
|
||||
@@ -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,
|
||||
4
apps/chattts/env/k3s-cluster/kustomization.yaml
vendored
Normal file
4
apps/chattts/env/k3s-cluster/kustomization.yaml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
@@ -1,5 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ./development.yaml
|
||||
- deployment.yaml
|
||||
- ./service.yaml
|
||||
12
apps/sonarqube/env/k3s-cluster/config.json
vendored
12
apps/sonarqube/env/k3s-cluster/config.json
vendored
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
9
resources/namespaces/base/chattts.yaml
Normal file
9
resources/namespaces/base/chattts.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-options: Prune=false
|
||||
creationTimestamp: null
|
||||
name: chattts
|
||||
spec: {}
|
||||
status: {}
|
||||
@@ -5,6 +5,7 @@ resources:
|
||||
- ./app-secrets.yaml
|
||||
- ./app-volumes.yaml
|
||||
- ./cert-manager.yaml
|
||||
- ./chattts.yaml
|
||||
- ./code-server.yaml
|
||||
- ./coder.yaml
|
||||
- ./consul.yaml
|
||||
|
||||
Reference in New Issue
Block a user