chore: lint yaml (#19)

pull/21/head
Rémy-Christophe Schermesser 5 years ago committed by GitHub
parent 30e82a16da
commit 813a7787c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,2 +1,3 @@
---
MD013: false # long lines
MD034: false # bare urls

@ -0,0 +1,6 @@
extends: default
rules:
line-length: disable
comments:
min-spaces-from-content: 1

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

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

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

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

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

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

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

@ -1,3 +1,4 @@
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
@ -8,4 +9,3 @@ spec:
backend:
serviceName: simple-service
servicePort: 80

@ -1,3 +1,4 @@
---
apiVersion: batch/v1beta1
kind: CronJob
metadata:

@ -1,3 +1,4 @@
---
apiVersion: batch/v1
kind: Job
metadata:

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

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

@ -1,7 +1,8 @@
---
# three node (two workers) cluster config
kind: Cluster
apiVersion: kind.sigs.k8s.io/v1alpha3
nodes:
- role: control-plane
- role: worker
- role: worker
- role: control-plane
- role: worker
- role: worker

@ -1,3 +1,4 @@
---
apiVersion: autoscaling/v1
kind: HorizontalPodAutoscaler
metadata:

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

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

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

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

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

@ -1,3 +1,4 @@
---
apiVersion: apps/v1
kind: StatefulSet
metadata:
@ -26,7 +27,7 @@ spec:
- metadata:
name: www
spec:
accessModes: [ "ReadWriteOnce" ]
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 1Gi

@ -3,4 +3,4 @@ extends: default
rules:
line-length: disable
comments:
min-spaces-from-content: 1
min-spaces-from-content: 1

Loading…
Cancel
Save