fix: correct YAML indentation and add missing newlines
- Fix indentation in service.yaml files (thelounge and znc) - Fix indentation in statefulset.yaml (thelounge) - Add missing newlines at end of files - Resolves yamllint errors from CI/CD workflows Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
+1
-1
@@ -6,4 +6,4 @@ resources:
|
||||
- ./thelounge
|
||||
- ./znc
|
||||
# - ./bitlbee
|
||||
# - ./inspircd
|
||||
# - ./inspircd
|
||||
|
||||
@@ -16,4 +16,4 @@ spec:
|
||||
value: /
|
||||
backendRefs:
|
||||
- name: thelounge
|
||||
port: 9000
|
||||
port: 9000
|
||||
|
||||
@@ -52,4 +52,4 @@ spec:
|
||||
- 10.0.0.0/8
|
||||
- 172.16.0.0/12
|
||||
- 192.168.0.0/16
|
||||
###
|
||||
###
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: thelounge
|
||||
labels:
|
||||
app.kubernetes.io/name: thelounge
|
||||
name: thelounge
|
||||
labels:
|
||||
app.kubernetes.io/name: thelounge
|
||||
spec:
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- port: 9000
|
||||
- port: 9000
|
||||
selector:
|
||||
app.kubernetes.io/name: thelounge
|
||||
|
||||
+49
-49
@@ -30,54 +30,54 @@ spec:
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
containers:
|
||||
- name: thelounge
|
||||
image: ghcr.io/thelounge/thelounge:latest
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
ports:
|
||||
- containerPort: 9000
|
||||
name: http-9000
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /var/opt/thelounge
|
||||
- name: thelounge
|
||||
image: ghcr.io/thelounge/thelounge:latest
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
ports:
|
||||
- containerPort: 9000
|
||||
name: http-9000
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /var/opt/thelounge
|
||||
resources:
|
||||
requests:
|
||||
cpu: "100m"
|
||||
memory: "256Mi"
|
||||
ephemeral-storage: "1Gi"
|
||||
limits:
|
||||
cpu: "500m"
|
||||
memory: "512Mi"
|
||||
ephemeral-storage: "2Gi"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 9000
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 3
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: 9000
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 3
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: config
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
cpu: "100m"
|
||||
memory: "256Mi"
|
||||
ephemeral-storage: "1Gi"
|
||||
limits:
|
||||
cpu: "500m"
|
||||
memory: "512Mi"
|
||||
ephemeral-storage: "2Gi"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 9000
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 3
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: 9000
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 3
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: config
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 4Gi
|
||||
storage: 4Gi
|
||||
|
||||
@@ -52,4 +52,4 @@ spec:
|
||||
- 10.0.0.0/8
|
||||
- 172.16.0.0/12
|
||||
- 192.168.0.0/16
|
||||
###
|
||||
###
|
||||
|
||||
+1
-1
@@ -11,6 +11,6 @@ metadata:
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- port: 6501
|
||||
- port: 6501
|
||||
selector:
|
||||
app.kubernetes.io/name: znc
|
||||
|
||||
Reference in New Issue
Block a user