Fix: rickroll lint
All checks were successful
Lint yaml / build-package (push) Successful in 8s

This commit is contained in:
2024-11-06 10:00:47 +00:00
parent 3934c68c53
commit 53959c5d7b
3 changed files with 27 additions and 27 deletions

View File

@@ -16,18 +16,18 @@ spec:
app: rickroll app: rickroll
spec: spec:
containers: containers:
- name: server - name: server
securityContext: securityContext:
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
image: gitea.konchin.com/service/rickroll:latest image: gitea.konchin.com/service/rickroll:latest
ports: ports:
- name: http - name: http
containerPort: 8080 containerPort: 8080
env: env:
- name: URI - name: URI
value: https://youtu.be/dQw4w9WgXcQ value: https://youtu.be/dQw4w9WgXcQ
- name: PORT - name: PORT
value: '8080' value: '8080'
imagePullSecrets: imagePullSecrets:
- name: regcred - name: regcred

View File

@@ -5,12 +5,12 @@ metadata:
name: rickroll name: rickroll
spec: spec:
rules: rules:
- http: - http:
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
backend: backend:
service: service:
name: rickroll name: rickroll
port: port:
number: 80 number: 80

View File

@@ -10,6 +10,6 @@ spec:
selector: selector:
app: rickroll app: rickroll
ports: ports:
- name: http - name: http
port: 80 port: 80
targetPort: 8080 targetPort: 8080