Commit 2314289f by trierra

portworx v1.0.7

Signed-off-by: 's avatartrierra <oksana@portworx.com>
parent 039e40e0
name: portworx name: portworx
appVersion: 1.0.6 appVersion: 1.0.7
version: 1.0.6 version: 1.0.7
description: A Helm chart for installing Portworx on Kubernetes. description: A Helm chart for installing Portworx on Kubernetes.
keywords: keywords:
- Storage - Storage
......
...@@ -387,3 +387,50 @@ spec: ...@@ -387,3 +387,50 @@ spec:
hostPath: hostPath:
path: /proc path: /proc
{{- end }} {{- end }}
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: portworx-api
namespace: kube-system
labels:
name: portworx-api
spec:
selector:
matchLabels:
name: portworx-api
minReadySeconds: 0
updateStrategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 100%
template:
metadata:
labels:
name: portworx-api
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: px/enabled
operator: NotIn
values:
- "false"
- key: node-role.kubernetes.io/master
operator: DoesNotExist
hostNetwork: true
hostPID: false
containers:
- name: portworx-api
image: k8s.gcr.io/pause:3.1
imagePullPolicy: Always
readinessProbe:
periodSeconds: 10
httpGet:
host: 127.0.0.1
path: /status
port: 9001
restartPolicy: Always
serviceAccountName: px-account
\ No newline at end of file
apiVersion: v1
kind: Namespace
metadata:
name: portworx
---
kind: Role
apiVersion: {{ template "rbac.apiVersion" . }}
metadata:
name: px-role
namespace: portworx
rules:
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get", "list", "create", "update", "patch"]
---
kind: RoleBinding
apiVersion: {{ template "rbac.apiVersion" . }}
metadata:
name: px-role-binding
namespace: portworx
subjects:
- kind: ServiceAccount
name: px-account
namespace: kube-system
roleRef:
kind: Role
name: px-role
apiGroup: rbac.authorization.k8s.io
--- ---
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
...@@ -6,7 +33,6 @@ metadata: ...@@ -6,7 +33,6 @@ metadata:
name: px-account name: px-account
namespace: kube-system namespace: kube-system
--- ---
kind: ClusterRole kind: ClusterRole
apiVersion: {{ template "rbac.apiVersion" . }} apiVersion: {{ template "rbac.apiVersion" . }}
metadata: metadata:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment