chore(linter): ignore latest-tag
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Rob Watson 2023-10-08 19:40:14 +02:00
parent 14d0354a89
commit 738830187f
11 changed files with 21 additions and 14 deletions

View File

@ -1,4 +1,6 @@
checks: checks:
exclude:
- latest-tag
ignorePaths: ignorePaths:
- ./deploy//dev/** - ./deploy/dev/**
- ./**/inflated/** - ./**/inflated/**

4
Makefile Normal file
View File

@ -0,0 +1,4 @@
.PHONY: lint
lint:
go run golang.stackrox.io/kube-linter/cmd/kube-linter@latest lint .

View File

@ -1,4 +1,4 @@
.PHONY: dev prod inflate .PHONY: dev prod inflate lint
dev: dev:
@kubectl kustomize --enable-helm dev @kubectl kustomize --enable-helm dev

View File

@ -24,7 +24,7 @@ spec:
spec: spec:
containers: containers:
- name: drone-runner - name: drone-runner
image: drone/drone-runner-kube@sha256:8fcd1ee0ddfa1b035190d4e50ff90735657f91c7e2cb8db7b7989df8de40e86e image: drone/drone-runner-kube:latest
ports: ports:
- name: http - name: http
protocol: TCP protocol: TCP

View File

@ -25,7 +25,8 @@ spec:
spec: spec:
containers: containers:
- name: element - name: element
image: vectorim/element-web:v1.11.40 image: vectorim/element-web:latest
imagePullPolicy: IfNotPresent
volumeMounts: volumeMounts:
- name: config - name: config
mountPath: /app/config.json mountPath: /app/config.json

View File

@ -25,7 +25,7 @@ spec:
runAsGroup: 1000 runAsGroup: 1000
runAsNonRoot: true runAsNonRoot: true
initContainers: initContainers:
- image: alpine/git:2.40.1 - image: alpine/git:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: init-invidious-repo name: init-invidious-repo
volumeMounts: volumeMounts:
@ -43,7 +43,7 @@ spec:
cpu: 500m cpu: 500m
securityContext: securityContext:
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
- image: jbergknoff/postgresql-client@sha256:45e175ebb700cfd46e23a610477c3576550055ef40c394e663623946a5eced39 - image: jbergknoff/postgresql-client:latest
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: init-invidious-db name: init-invidious-db
volumeMounts: volumeMounts:
@ -94,7 +94,7 @@ spec:
workingDir: /data/repo workingDir: /data/repo
command: ["sh", "docker/init-invidious-db.sh"] command: ["sh", "docker/init-invidious-db.sh"]
containers: containers:
- image: quay.io/invidious/invidious:ac0c0609bb8b652e630c3603cd9dbb1c87fbdf44 - image: quay.io/invidious/invidious:latest
imagePullPolicy: Always imagePullPolicy: Always
name: invidious name: invidious
ports: ports:

View File

@ -23,7 +23,7 @@ spec:
app.kubernetes.io/instance: netflux-homepage app.kubernetes.io/instance: netflux-homepage
spec: spec:
containers: containers:
- image: netfluxio/homepage@sha256:fc253db170fddf4c4cf60aa4e1cefd4f9becb1305aba0929034d2b7636b6aad1 - image: netfluxio/homepage:latest
imagePullPolicy: Always imagePullPolicy: Always
name: netflux-homepage name: netflux-homepage
ports: ports:

View File

@ -23,7 +23,7 @@ spec:
app.kubernetes.io/instance: solar-toolkit-gateway app.kubernetes.io/instance: solar-toolkit-gateway
spec: spec:
containers: containers:
- image: netfluxio/solar-toolkit@sha256:a2251b90278bf66c04980fb4e16353195f2dbd07690df2922b61a7cf09aea049 - image: netfluxio/solar-toolkit:latest
imagePullPolicy: Always imagePullPolicy: Always
name: solar-toolkit name: solar-toolkit
ports: ports:

View File

@ -114,7 +114,7 @@ spec:
containers: containers:
- name: gitea - name: gitea
image: gitea/gitea:1.20.5-rootless image: gitea/gitea:1.20.5-rootless
imagePullPolicy: Always imagePullPolicy: IfNotPresent
ports: ports:
- name: http - name: http
protocol: TCP protocol: TCP

View File

@ -27,8 +27,8 @@ spec:
runAsNonRoot: true runAsNonRoot: true
containers: containers:
- name: radicale - name: radicale
image: tomsquest/docker-radicale:3.1.8.3 image: tomsquest/docker-radicale:latest
imagePullPolicy: IfNotPresent imagePullPolicy: Always
ports: ports:
- name: caldav - name: caldav
protocol: TCP protocol: TCP

View File

@ -30,8 +30,8 @@ spec:
runAsUser: 991 runAsUser: 991
runAsGroup: 991 runAsGroup: 991
containers: containers:
- image: matrixdotorg/synapse:v1.91.2 - image: matrixdotorg/synapse:latest
imagePullPolicy: IfNotPresent imagePullPolicy: Always
name: synapse name: synapse
ports: ports:
- name: http - name: http