mirror of https://github.com/portainer/k8s.git
Fix some whitepsace and formatting issues (#123)
Co-authored-by: samdulam <sam.dulam@portainer.io>pull/134/head^2
parent
50b1ba3f55
commit
582a6f376f
|
@ -21,7 +21,7 @@ kind: "PersistentVolumeClaim"
|
||||||
apiVersion: "v1"
|
apiVersion: "v1"
|
||||||
metadata:
|
metadata:
|
||||||
name: portainer
|
name: portainer
|
||||||
namespace: portainer
|
namespace: portainer
|
||||||
annotations:
|
annotations:
|
||||||
volume.alpha.kubernetes.io/storage-class: "generic"
|
volume.alpha.kubernetes.io/storage-class: "generic"
|
||||||
labels:
|
labels:
|
||||||
|
@ -50,9 +50,9 @@ roleRef:
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
name: cluster-admin
|
name: cluster-admin
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
namespace: portainer
|
namespace: portainer
|
||||||
name: portainer-sa-clusteradmin
|
name: portainer-sa-clusteradmin
|
||||||
---
|
---
|
||||||
# Source: portainer/templates/service.yaml
|
# Source: portainer/templates/service.yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -72,12 +72,12 @@ spec:
|
||||||
targetPort: 9000
|
targetPort: 9000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
nodePort: 30777
|
nodePort: 30777
|
||||||
- port: 9443
|
- port: 9443
|
||||||
targetPort: 9443
|
targetPort: 9443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: https
|
name: https
|
||||||
nodePort: 30779
|
nodePort: 30779
|
||||||
- port: 30776
|
- port: 30776
|
||||||
targetPort: 30776
|
targetPort: 30776
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -124,20 +124,20 @@ spec:
|
||||||
image: "portainer/portainer-ee:2.18.4"
|
image: "portainer/portainer-ee:2.18.4"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- '--tunnel-port=30776'
|
- '--tunnel-port=30776'
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 9000
|
containerPort: 9000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: https
|
- name: https
|
||||||
containerPort: 9443
|
containerPort: 9443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: tcp-edge
|
- name: tcp-edge
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
|
@ -147,7 +147,6 @@ spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 9443
|
port: 9443
|
||||||
scheme: HTTPS
|
scheme: HTTPS
|
||||||
resources:
|
resources:
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ kind: "PersistentVolumeClaim"
|
||||||
apiVersion: "v1"
|
apiVersion: "v1"
|
||||||
metadata:
|
metadata:
|
||||||
name: portainer
|
name: portainer
|
||||||
namespace: portainer
|
namespace: portainer
|
||||||
annotations:
|
annotations:
|
||||||
volume.alpha.kubernetes.io/storage-class: "generic"
|
volume.alpha.kubernetes.io/storage-class: "generic"
|
||||||
labels:
|
labels:
|
||||||
|
@ -50,9 +50,9 @@ roleRef:
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
name: cluster-admin
|
name: cluster-admin
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
namespace: portainer
|
namespace: portainer
|
||||||
name: portainer-sa-clusteradmin
|
name: portainer-sa-clusteradmin
|
||||||
---
|
---
|
||||||
# Source: portainer/templates/service.yaml
|
# Source: portainer/templates/service.yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -71,7 +71,7 @@ spec:
|
||||||
- port: 9000
|
- port: 9000
|
||||||
targetPort: 9000
|
targetPort: 9000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
- port: 9443
|
- port: 9443
|
||||||
targetPort: 9443
|
targetPort: 9443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -120,20 +120,20 @@ spec:
|
||||||
- name: portainer
|
- name: portainer
|
||||||
image: "portainer/portainer-ee:2.18.4"
|
image: "portainer/portainer-ee:2.18.4"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 9000
|
containerPort: 9000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: https
|
- name: https
|
||||||
containerPort: 9443
|
containerPort: 9443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: tcp-edge
|
- name: tcp-edge
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
|
@ -143,7 +143,6 @@ spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 9443
|
port: 9443
|
||||||
scheme: HTTPS
|
scheme: HTTPS
|
||||||
resources:
|
resources:
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ kind: "PersistentVolumeClaim"
|
||||||
apiVersion: "v1"
|
apiVersion: "v1"
|
||||||
metadata:
|
metadata:
|
||||||
name: portainer
|
name: portainer
|
||||||
namespace: portainer
|
namespace: portainer
|
||||||
annotations:
|
annotations:
|
||||||
volume.alpha.kubernetes.io/storage-class: "generic"
|
volume.alpha.kubernetes.io/storage-class: "generic"
|
||||||
labels:
|
labels:
|
||||||
|
@ -50,9 +50,9 @@ roleRef:
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
name: cluster-admin
|
name: cluster-admin
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
namespace: portainer
|
namespace: portainer
|
||||||
name: portainer-sa-clusteradmin
|
name: portainer-sa-clusteradmin
|
||||||
---
|
---
|
||||||
# Source: portainer/templates/service.yaml
|
# Source: portainer/templates/service.yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -71,7 +71,7 @@ spec:
|
||||||
- port: 9000
|
- port: 9000
|
||||||
targetPort: 9000
|
targetPort: 9000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
- port: 9443
|
- port: 9443
|
||||||
targetPort: 9443
|
targetPort: 9443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -120,20 +120,20 @@ spec:
|
||||||
- name: portainer
|
- name: portainer
|
||||||
image: "portainer/portainer-ce:2.18.4"
|
image: "portainer/portainer-ce:2.18.4"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 9000
|
containerPort: 9000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: https
|
- name: https
|
||||||
containerPort: 9443
|
containerPort: 9443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: tcp-edge
|
- name: tcp-edge
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
|
@ -143,7 +143,6 @@ spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 9443
|
port: 9443
|
||||||
scheme: HTTPS
|
scheme: HTTPS
|
||||||
resources:
|
resources:
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ kind: "PersistentVolumeClaim"
|
||||||
apiVersion: "v1"
|
apiVersion: "v1"
|
||||||
metadata:
|
metadata:
|
||||||
name: portainer
|
name: portainer
|
||||||
namespace: portainer
|
namespace: portainer
|
||||||
annotations:
|
annotations:
|
||||||
volume.alpha.kubernetes.io/storage-class: "generic"
|
volume.alpha.kubernetes.io/storage-class: "generic"
|
||||||
labels:
|
labels:
|
||||||
|
@ -50,9 +50,9 @@ roleRef:
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
name: cluster-admin
|
name: cluster-admin
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
namespace: portainer
|
namespace: portainer
|
||||||
name: portainer-sa-clusteradmin
|
name: portainer-sa-clusteradmin
|
||||||
---
|
---
|
||||||
# Source: portainer/templates/service.yaml
|
# Source: portainer/templates/service.yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
@ -72,12 +72,12 @@ spec:
|
||||||
targetPort: 9000
|
targetPort: 9000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
nodePort: 30777
|
nodePort: 30777
|
||||||
- port: 9443
|
- port: 9443
|
||||||
targetPort: 9443
|
targetPort: 9443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: https
|
name: https
|
||||||
nodePort: 30779
|
nodePort: 30779
|
||||||
- port: 30776
|
- port: 30776
|
||||||
targetPort: 30776
|
targetPort: 30776
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
@ -124,20 +124,20 @@ spec:
|
||||||
image: "portainer/portainer-ce:2.18.4"
|
image: "portainer/portainer-ce:2.18.4"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- '--tunnel-port=30776'
|
- '--tunnel-port=30776'
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 9000
|
containerPort: 9000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: https
|
- name: https
|
||||||
containerPort: 9443
|
containerPort: 9443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- name: tcp-edge
|
- name: tcp-edge
|
||||||
containerPort: 8000
|
containerPort: 8000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
|
@ -147,7 +147,6 @@ spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 9443
|
port: 9443
|
||||||
scheme: HTTPS
|
scheme: HTTPS
|
||||||
resources:
|
resources:
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue