lint: yaml spaces and tabs
This commit is contained in:
@@ -2,8 +2,8 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- userbots.yaml
|
- userbots.yaml
|
||||||
- common-secret.yaml
|
- common-secret.yaml
|
||||||
- common-config.yaml
|
- common-config.yaml
|
||||||
- forust-secrets.yaml
|
- forust-secrets.yaml
|
||||||
- anna-secrets.yaml
|
- anna-secrets.yaml
|
||||||
|
|||||||
+54
-54
@@ -15,34 +15,34 @@ spec:
|
|||||||
app: forust-userbot
|
app: forust-userbot
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: forust-userbot
|
- name: forust-userbot
|
||||||
image: gcr.forust.xyz/forust/userbot:latest
|
image: gcr.forust.xyz/forust/userbot:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
cpu: "100m"
|
cpu: "100m"
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: userbot-common-secrets
|
name: userbot-common-secrets
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: userbot-common-config
|
name: userbot-common-config
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: userbot-forust-secrets
|
name: userbot-forust-secrets
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: forust-storage
|
- name: forust-storage
|
||||||
mountPath: /app/data
|
mountPath: /app/data
|
||||||
subPath: data
|
subPath: data
|
||||||
- name: forust-storage
|
- name: forust-storage
|
||||||
mountPath: /app/logs
|
mountPath: /app/logs
|
||||||
subPath: logs
|
subPath: logs
|
||||||
volumes:
|
volumes:
|
||||||
- name: forust-storage
|
- name: forust-storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: forust-pvc
|
claimName: forust-pvc
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
@@ -73,34 +73,34 @@ spec:
|
|||||||
app: anna-userbot
|
app: anna-userbot
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: anna-userbot
|
- name: anna-userbot
|
||||||
image: gcr.forust.xyz/forust/userbot:latest
|
image: gcr.forust.xyz/forust/userbot:latest
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: "512Mi"
|
memory: "512Mi"
|
||||||
cpu: "500m"
|
cpu: "500m"
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
cpu: "100m"
|
cpu: "100m"
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: userbot-common-secrets
|
name: userbot-common-secrets
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: userbot-common-config
|
name: userbot-common-config
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: userbot-anna-secrets
|
name: userbot-anna-secrets
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: anna-storage
|
- name: anna-storage
|
||||||
mountPath: /app/data
|
mountPath: /app/data
|
||||||
subPath: data
|
subPath: data
|
||||||
- name: anna-storage
|
- name: anna-storage
|
||||||
mountPath: /app/logs
|
mountPath: /app/logs
|
||||||
subPath: logs
|
subPath: logs
|
||||||
volumes:
|
volumes:
|
||||||
- name: anna-storage
|
- name: anna-storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: anna-pvc
|
claimName: anna-pvc
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- ../../base
|
- ../../base
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
- path: patch-downloads.yaml
|
- path: patch-downloads.yaml
|
||||||
|
|||||||
@@ -6,15 +6,15 @@ spec:
|
|||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: forust-userbot
|
- name: forust-userbot
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: downloads
|
- name: downloads
|
||||||
mountPath: /app/downloads
|
mountPath: /app/downloads
|
||||||
volumes:
|
volumes:
|
||||||
- name: downloads
|
- name: downloads
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /home/user/projects/homelab/userbot/Downloads
|
path: /home/user/projects/homelab/userbot/Downloads
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
@@ -24,12 +24,12 @@ spec:
|
|||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: anna-userbot
|
- name: anna-userbot
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: downloads
|
- name: downloads
|
||||||
mountPath: /app/downloads
|
mountPath: /app/downloads
|
||||||
volumes:
|
volumes:
|
||||||
- name: downloads
|
- name: downloads
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /home/user/projects/homelab/userbot/Downloads
|
path: /home/user/projects/homelab/userbot/Downloads
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- ../../base
|
- ../../base
|
||||||
|
|
||||||
patches:
|
patches:
|
||||||
- path: patch-downloads.yaml
|
- path: patch-downloads.yaml
|
||||||
|
|||||||
@@ -6,15 +6,15 @@ spec:
|
|||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: forust-userbot
|
- name: forust-userbot
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: downloads
|
- name: downloads
|
||||||
mountPath: /app/downloads
|
mountPath: /app/downloads
|
||||||
volumes:
|
volumes:
|
||||||
- name: downloads
|
- name: downloads
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /srv/homelab/userbot/Downloads
|
path: /srv/homelab/userbot/Downloads
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
@@ -24,12 +24,12 @@ spec:
|
|||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: anna-userbot
|
- name: anna-userbot
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: downloads
|
- name: downloads
|
||||||
mountPath: /app/downloads
|
mountPath: /app/downloads
|
||||||
volumes:
|
volumes:
|
||||||
- name: downloads
|
- name: downloads
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /srv/homelab/userbot/Downloads
|
path: /srv/homelab/userbot/Downloads
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
|
|||||||
Reference in New Issue
Block a user