add "document-start" 1st line to all yaml files

The YAML Specification requires three daashes `---` as marker for the
start of a content block. That means, each YAML file needs to start with
`---` on the first line (or after initial comments).

See-also: https://yaml.org/
This commit is contained in:
Niels de Vos
2023-05-25 18:01:55 +02:00
parent a942b5b9b8
commit 926df0c8c4
16 changed files with 16 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
---
version: 2
updates:
- package-ecosystem: gomod

View File

@@ -1,3 +1,4 @@
---
name: Trivy vulnerability scanner
on:
push:

View File

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

View File

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

View File

@@ -8,6 +8,7 @@
# - optionally rename the non-namespaced ClusterRole if there
# are conflicts with other deployments
---
apiVersion: v1
kind: ServiceAccount
metadata:

View File

@@ -8,6 +8,7 @@
# provisioner, in which case leadership election must be enabled;
# this influences the RBAC setup, see below
---
apiVersion: v1
kind: ServiceAccount
metadata:

View File

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

View File

@@ -5,6 +5,7 @@
# namespace for components implementing base system functionality. For installing with
# Vanilla Kubernetes, kube-system makes sense for the namespace.
---
apiVersion: v1
kind: ServiceAccount
metadata:

View File

@@ -5,6 +5,7 @@
# namespace for components implementing base system functionality. For installing with
# Vanilla Kubernetes, kube-system makes sense for the namespace.
---
apiVersion: v1
kind: ServiceAccount
metadata:

View File

@@ -1,3 +1,4 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:

View File

@@ -1,3 +1,4 @@
---
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:

View File

@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:

View File

@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:

View File

@@ -1,3 +1,4 @@
---
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshot
metadata:

View File

@@ -1,3 +1,4 @@
---
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotClass
metadata:

View File

@@ -1,3 +1,4 @@
---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata: