fix typos and file layout for yamllint
Some checks failed
ci/woodpecker/push/yamllint Pipeline failed

This commit is contained in:
Tom Neuber 2024-10-07 09:19:39 +02:00
parent 61d19f3413
commit e00cc2d4dd
Signed by: tom
GPG key ID: F17EFE4272D89FF6
65 changed files with 684 additions and 631 deletions

View file

@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:
@ -21,17 +22,17 @@ spec:
app: dashboard
spec:
containers:
- name: dashboard
image: git.ar21.de/yolokube/dashboard:latest
imagePullPolicy: Always
ports:
- containerPort: 8080
livenessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 4
periodSeconds: 3
- name: dashboard
image: git.ar21.de/yolokube/dashboard:latest
imagePullPolicy: Always
ports:
- containerPort: 8080
livenessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 4
periodSeconds: 3
---
apiVersion: v1
kind: Service
@ -55,17 +56,17 @@ metadata:
namespace: dashboard
spec:
rules:
- host: "dashboard.services.yolokube.de"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: dashboard-service
port:
number: 80
- host: "dashboard.services.yolokube.de"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: dashboard-service
port:
number: 80
tls:
- hosts:
- dashboard.services.yolokube.de
secretName: dashboard-tls-key
- hosts:
- dashboard.services.yolokube.de
secretName: dashboard-tls-key

View file

@ -1,4 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- dashboard.yaml
- dashboard.yaml

View file

@ -1,9 +1,10 @@
---
resources:
- ../../base
- ../../base
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: git.ar21.de/yolokube/dashboard
newName: git.ar21.de/yolokube/dashboard
newTag: "96"
- name: git.ar21.de/yolokube/dashboard
newName: git.ar21.de/yolokube/dashboard
newTag: "96"
namespace: dashboard

View file

@ -1,31 +1,32 @@
---
resources:
- ../../base
- ../../base
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: git.ar21.de/yolokube/dashboard
newName: git.ar21.de/yolokube/dashboard
newTag: staging-95
- name: git.ar21.de/yolokube/dashboard
newName: git.ar21.de/yolokube/dashboard
newTag: staging-95
namespace: dashboard-staging
patches:
- patch: |-
- op: replace
path: /spec/rules/0/host
value: "dashboard-staging.services.yolokube.de"
target:
kind: Ingress
name: dashboard-ingress
- patch: |-
- op: replace
path: /spec/tls/0/hosts/0
value: "dashboard-staging.services.yolokube.de"
target:
kind: Ingress
name: dashboard-ingress
- patch: |-
- op: replace
path: /spec/replicas
value: 1
target:
kind: Deployment
name: dashboard-deployment
- patch: |-
- op: replace
path: /spec/rules/0/host
value: "dashboard-staging.services.yolokube.de"
target:
kind: Ingress
name: dashboard-ingress
- patch: |-
- op: replace
path: /spec/tls/0/hosts/0
value: "dashboard-staging.services.yolokube.de"
target:
kind: Ingress
name: dashboard-ingress
- patch: |-
- op: replace
path: /spec/replicas
value: 1
target:
kind: Deployment
name: dashboard-deployment