From 582a6f376f0798fb0c84aa219b7c9d92aeee056e Mon Sep 17 00:00:00 2001 From: Nicholas Malcolm Date: Thu, 31 Aug 2023 00:27:53 -0400 Subject: [PATCH] Fix some whitepsace and formatting issues (#123) Co-authored-by: samdulam --- deploy/manifests/portainer/portainer-ee.yaml | 23 +++++++++---------- .../manifests/portainer/portainer-lb-ee.yaml | 21 ++++++++--------- deploy/manifests/portainer/portainer-lb.yaml | 21 ++++++++--------- deploy/manifests/portainer/portainer.yaml | 23 +++++++++---------- 4 files changed, 42 insertions(+), 46 deletions(-) diff --git a/deploy/manifests/portainer/portainer-ee.yaml b/deploy/manifests/portainer/portainer-ee.yaml index 5d4ad14..f136582 100644 --- a/deploy/manifests/portainer/portainer-ee.yaml +++ b/deploy/manifests/portainer/portainer-ee.yaml @@ -21,7 +21,7 @@ kind: "PersistentVolumeClaim" apiVersion: "v1" metadata: name: portainer - namespace: portainer + namespace: portainer annotations: volume.alpha.kubernetes.io/storage-class: "generic" labels: @@ -50,9 +50,9 @@ roleRef: kind: ClusterRole name: cluster-admin subjects: -- kind: ServiceAccount - namespace: portainer - name: portainer-sa-clusteradmin + - kind: ServiceAccount + namespace: portainer + name: portainer-sa-clusteradmin --- # Source: portainer/templates/service.yaml apiVersion: v1 @@ -72,12 +72,12 @@ spec: targetPort: 9000 protocol: TCP name: http - nodePort: 30777 + nodePort: 30777 - port: 9443 targetPort: 9443 protocol: TCP name: https - nodePort: 30779 + nodePort: 30779 - port: 30776 targetPort: 30776 protocol: TCP @@ -124,20 +124,20 @@ spec: image: "portainer/portainer-ee:2.18.4" imagePullPolicy: Always args: - - '--tunnel-port=30776' + - '--tunnel-port=30776' volumeMounts: - name: data - mountPath: /data + mountPath: /data ports: - name: http containerPort: 9000 protocol: TCP - name: https containerPort: 9443 - protocol: TCP + protocol: TCP - name: tcp-edge containerPort: 8000 - protocol: TCP + protocol: TCP livenessProbe: httpGet: path: / @@ -147,7 +147,6 @@ spec: httpGet: path: / port: 9443 - scheme: HTTPS + scheme: HTTPS resources: {} - diff --git a/deploy/manifests/portainer/portainer-lb-ee.yaml b/deploy/manifests/portainer/portainer-lb-ee.yaml index 997ff1f..1458444 100644 --- a/deploy/manifests/portainer/portainer-lb-ee.yaml +++ b/deploy/manifests/portainer/portainer-lb-ee.yaml @@ -21,7 +21,7 @@ kind: "PersistentVolumeClaim" apiVersion: "v1" metadata: name: portainer - namespace: portainer + namespace: portainer annotations: volume.alpha.kubernetes.io/storage-class: "generic" labels: @@ -50,9 +50,9 @@ roleRef: kind: ClusterRole name: cluster-admin subjects: -- kind: ServiceAccount - namespace: portainer - name: portainer-sa-clusteradmin + - kind: ServiceAccount + namespace: portainer + name: portainer-sa-clusteradmin --- # Source: portainer/templates/service.yaml apiVersion: v1 @@ -71,7 +71,7 @@ spec: - port: 9000 targetPort: 9000 protocol: TCP - name: http + name: http - port: 9443 targetPort: 9443 protocol: TCP @@ -120,20 +120,20 @@ spec: - name: portainer image: "portainer/portainer-ee:2.18.4" imagePullPolicy: Always - args: + args: volumeMounts: - name: data - mountPath: /data + mountPath: /data ports: - name: http containerPort: 9000 protocol: TCP - name: https containerPort: 9443 - protocol: TCP + protocol: TCP - name: tcp-edge containerPort: 8000 - protocol: TCP + protocol: TCP livenessProbe: httpGet: path: / @@ -143,7 +143,6 @@ spec: httpGet: path: / port: 9443 - scheme: HTTPS + scheme: HTTPS resources: {} - diff --git a/deploy/manifests/portainer/portainer-lb.yaml b/deploy/manifests/portainer/portainer-lb.yaml index 8248cae..ebfdaf7 100644 --- a/deploy/manifests/portainer/portainer-lb.yaml +++ b/deploy/manifests/portainer/portainer-lb.yaml @@ -21,7 +21,7 @@ kind: "PersistentVolumeClaim" apiVersion: "v1" metadata: name: portainer - namespace: portainer + namespace: portainer annotations: volume.alpha.kubernetes.io/storage-class: "generic" labels: @@ -50,9 +50,9 @@ roleRef: kind: ClusterRole name: cluster-admin subjects: -- kind: ServiceAccount - namespace: portainer - name: portainer-sa-clusteradmin + - kind: ServiceAccount + namespace: portainer + name: portainer-sa-clusteradmin --- # Source: portainer/templates/service.yaml apiVersion: v1 @@ -71,7 +71,7 @@ spec: - port: 9000 targetPort: 9000 protocol: TCP - name: http + name: http - port: 9443 targetPort: 9443 protocol: TCP @@ -120,20 +120,20 @@ spec: - name: portainer image: "portainer/portainer-ce:2.18.4" imagePullPolicy: Always - args: + args: volumeMounts: - name: data - mountPath: /data + mountPath: /data ports: - name: http containerPort: 9000 protocol: TCP - name: https containerPort: 9443 - protocol: TCP + protocol: TCP - name: tcp-edge containerPort: 8000 - protocol: TCP + protocol: TCP livenessProbe: httpGet: path: / @@ -143,7 +143,6 @@ spec: httpGet: path: / port: 9443 - scheme: HTTPS + scheme: HTTPS resources: {} - diff --git a/deploy/manifests/portainer/portainer.yaml b/deploy/manifests/portainer/portainer.yaml index e61bff5..1c493e7 100644 --- a/deploy/manifests/portainer/portainer.yaml +++ b/deploy/manifests/portainer/portainer.yaml @@ -21,7 +21,7 @@ kind: "PersistentVolumeClaim" apiVersion: "v1" metadata: name: portainer - namespace: portainer + namespace: portainer annotations: volume.alpha.kubernetes.io/storage-class: "generic" labels: @@ -50,9 +50,9 @@ roleRef: kind: ClusterRole name: cluster-admin subjects: -- kind: ServiceAccount - namespace: portainer - name: portainer-sa-clusteradmin + - kind: ServiceAccount + namespace: portainer + name: portainer-sa-clusteradmin --- # Source: portainer/templates/service.yaml apiVersion: v1 @@ -72,12 +72,12 @@ spec: targetPort: 9000 protocol: TCP name: http - nodePort: 30777 + nodePort: 30777 - port: 9443 targetPort: 9443 protocol: TCP name: https - nodePort: 30779 + nodePort: 30779 - port: 30776 targetPort: 30776 protocol: TCP @@ -124,20 +124,20 @@ spec: image: "portainer/portainer-ce:2.18.4" imagePullPolicy: Always args: - - '--tunnel-port=30776' + - '--tunnel-port=30776' volumeMounts: - name: data - mountPath: /data + mountPath: /data ports: - name: http containerPort: 9000 protocol: TCP - name: https containerPort: 9443 - protocol: TCP + protocol: TCP - name: tcp-edge containerPort: 8000 - protocol: TCP + protocol: TCP livenessProbe: httpGet: path: / @@ -147,7 +147,6 @@ spec: httpGet: path: / port: 9443 - scheme: HTTPS + scheme: HTTPS resources: {} -