Skip to content

Commit f634818

Browse files
chore: update install-nfs-server makefile goal
- apply the kerberos nfs server deployment with `kubectl` - add a `krb-pwd` key to the `mount-options` secret, which will be used to authenticate with the share in tests
1 parent c466707 commit f634818

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,9 @@ endif
131131
.PHONY: install-nfs-server
132132
install-nfs-server:
133133
kubectl apply -f ./deploy/example/nfs-provisioner/nfs-server.yaml
134+
kubectl apply -f ./deploy/example/nfs-provisioner/nfs-krb-server.yaml
134135
kubectl delete secret mount-options -n default --ignore-not-found
135-
kubectl create secret generic mount-options --from-literal mountOptions="nfsvers=4.1" -n default
136+
kubectl create secret generic mount-options --from-literal mountOptions="nfsvers=4.1" --from-literal krb-pwd='password!' -n default
136137

137138
.PHONY: install-helm
138139
install-helm:

0 commit comments

Comments
 (0)