1 # Copyright © 2017 Amdocs, Bell Canada
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 #{{ if not .Values.disableSdncSdncDbhost }}
16 #{{ if not .Values.disableNfsProvisioner }}
18 apiVersion: extensions/v1beta1
20 name: sdnc-nfs-provisioner
21 namespace: "{{ .Values.nsPrefix }}"
23 replicas: {{ .Values.nfsReplicas }}
30 name: sdnc-nfs-provisioner
33 - name: nfs-provisioner
34 image: quay.io/kubernetes_incubator/nfs-provisioner:v1.0.8
51 - "-provisioner=sdnc/nfs"
56 fieldPath: status.podIP
58 value: nfs-provisioner
62 fieldPath: metadata.namespace
63 imagePullPolicy: "IfNotPresent"
70 path: {{ .Values.dataRootDir }}/{{ .Values.nsPrefix }}/sdnc/data