diff --git a/pkg/apis/openebs.io/v1alpha1/versionDetails.go b/pkg/apis/openebs.io/v1alpha1/versionDetails.go index 6e44b4f736..e8cf91db82 100644 --- a/pkg/apis/openebs.io/v1alpha1/versionDetails.go +++ b/pkg/apis/openebs.io/v1alpha1/versionDetails.go @@ -30,6 +30,7 @@ var ( "1.8.0": true, "1.9.0": true, "1.10.0": true, "1.11.0": true, "1.12.0": true, "2.0.0": true, "2.1.0": true, "2.2.0": true, "2.3.0": true, "2.4.0": true, "2.4.1": true, "2.5.0": true, + "2.6.0": true, } validDesiredVersion = strings.Split(version.GetVersion(), "-")[0] ) diff --git a/pkg/install/v1alpha1/jiva_volume.go b/pkg/install/v1alpha1/jiva_volume.go index d9eabe4404..2eda9e43f2 100644 --- a/pkg/install/v1alpha1/jiva_volume.go +++ b/pkg/install/v1alpha1/jiva_volume.go @@ -268,6 +268,8 @@ spec: enabled: "false" - name: ReplicaTolerations value: "none" + - name: ServiceAccountName + value: {{env "OPENEBS_SERVICE_ACCOUNT"}} taskNamespace: {{env "OPENEBS_NAMESPACE"}} run: tasks: @@ -1337,6 +1339,7 @@ spec: {{- end }} template: spec: + serviceAccountName: {{ .Config.ServiceAccountName.value }} restartPolicy: OnFailure nodeSelector: kubernetes.io/hostname: {{ kubeNodeGetHostNameOrNodeName .ListItems.currentRepeatResource }}