From 04562c35890ca79454f32ce2943cb3bebcd466a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hogne=20H=C3=A5skjold?= Date: Thu, 3 Oct 2019 10:30:43 +0200 Subject: [PATCH] Yamlint fixes. --- basic-deployment.yaml | 9 +++++---- basic-ingress.yaml | 15 ++++++++------- basic-service.yaml | 3 ++- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/basic-deployment.yaml b/basic-deployment.yaml index 0983849..b182beb 100644 --- a/basic-deployment.yaml +++ b/basic-deployment.yaml @@ -1,3 +1,4 @@ +--- apiVersion: apps/v1 kind: Deployment metadata: @@ -16,7 +17,7 @@ spec: app: basic spec: containers: - - name: basic - image: nginx:latest - ports: - - containerPort: 80 + - name: basic + image: nginx:latest + ports: + - containerPort: 80 diff --git a/basic-ingress.yaml b/basic-ingress.yaml index 133dd2d..ca3e875 100644 --- a/basic-ingress.yaml +++ b/basic-ingress.yaml @@ -1,3 +1,4 @@ +--- apiVersion: extensions/v1beta1 kind: Ingress metadata: @@ -5,10 +6,10 @@ metadata: namespace: scratch spec: rules: - - host: basic.temp.paas2.uninett.no - http: - paths: - - path: / - backend: - serviceName: basic - servicePort: 80 + - host: basic.temp.paas2.uninett.no + http: + paths: + - path: / + backend: + serviceName: basic + servicePort: 80 diff --git a/basic-service.yaml b/basic-service.yaml index 6711f44..8e0bd15 100644 --- a/basic-service.yaml +++ b/basic-service.yaml @@ -1,3 +1,4 @@ +--- apiVersion: v1 kind: Service metadata: @@ -5,6 +6,6 @@ metadata: namespace: scratch spec: ports: - - port: 80 + - port: 80 selector: app: basic -- GitLab