add app chattts
This commit is contained in:
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
|
||||||
12
apps/chattts/env/k3s-cluster/config.json
vendored
Normal file
12
apps/chattts/env/k3s-cluster/config.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"appName": "chattts",
|
||||||
|
"userGivenName": "chattts",
|
||||||
|
"namespace": "chattts",
|
||||||
|
"destNamespace": "chattts",
|
||||||
|
"destServer": "https://kubernetes.default.svc",
|
||||||
|
"srcPath": "apps/chattts/env/k3s-cluster",
|
||||||
|
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
|
||||||
|
"srcTargetRevision": "",
|
||||||
|
"labels": null,
|
||||||
|
"annotations": 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
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./development.yaml
|
- deployment.yaml
|
||||||
- ./service.yaml
|
- ./service.yaml
|
||||||
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-secrets.yaml
|
||||||
- ./app-volumes.yaml
|
- ./app-volumes.yaml
|
||||||
- ./cert-manager.yaml
|
- ./cert-manager.yaml
|
||||||
|
- ./chattts.yaml
|
||||||
- ./code-server.yaml
|
- ./code-server.yaml
|
||||||
- ./coder.yaml
|
- ./coder.yaml
|
||||||
- ./consul.yaml
|
- ./consul.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user