@@ -73,17 +73,21 @@ const (
7373 // The base directory must be a direct child of the root directory.
7474 // The root directory is omitted from the string, for example:
7575 // "base" instead of "/base"
76- paramShare = "share"
77- paramSubDir = "subdir"
78- paramOnDelete = "ondelete"
79- mountOptionsField = "mountoptions"
80- mountPermissionsField = "mountpermissions"
81- pvcNameKey = "csi.storage.k8s.io/pvc/name"
82- pvcNamespaceKey = "csi.storage.k8s.io/pvc/namespace"
83- pvNameKey = "csi.storage.k8s.io/pv/name"
84- pvcNameMetadata = "${pvc.metadata.name}"
85- pvcNamespaceMetadata = "${pvc.metadata.namespace}"
86- pvNameMetadata = "${pv.metadata.name}"
76+ paramShare = "share"
77+ paramSubDir = "subdir"
78+ // Kerberos principal to use when mounting with `-o sec=krb5*`
79+ paramKrbPrincipal = "authprincipal"
80+ // name of a secret containing the Kerberos password to use when authenticating
81+ paramKrbPasswordSecret = "authpasswordsecret"
82+ paramOnDelete = "ondelete"
83+ mountOptionsField = "mountoptions"
84+ mountPermissionsField = "mountpermissions"
85+ pvcNameKey = "csi.storage.k8s.io/pvc/name"
86+ pvcNamespaceKey = "csi.storage.k8s.io/pvc/namespace"
87+ pvNameKey = "csi.storage.k8s.io/pv/name"
88+ pvcNameMetadata = "${pvc.metadata.name}"
89+ pvcNamespaceMetadata = "${pvc.metadata.namespace}"
90+ pvNameMetadata = "${pv.metadata.name}"
8791)
8892
8993func NewDriver (options * DriverOptions ) * Driver {
0 commit comments