Skip to content

Commit 3212ffb

Browse files
committed
fix: remove efs symlinks
1 parent 413d936 commit 3212ffb

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

efs-utils.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package:
22
name: efs-utils
33
version: "2.3.1"
4-
epoch: 0
4+
epoch: 1
55
description: Utilities for Amazon Elastic File System (EFS)
66
copyright:
77
- license: MIT
@@ -83,8 +83,6 @@ pipeline:
8383
# This package exists separately because aws-efs-csi-driver requires a custom efs-utils.
8484
# Upstream moves /etc/amazon/efs to /etc/amazon/efs-static-files
8585
# (https://github.com/kubernetes-sigs/aws-efs-csi-driver/blob/master/Dockerfile#L91)
86-
# and symlinks /etc/amazon/efs to /var/amazon/efs at runtime
87-
# (https://github.com/kubernetes-sigs/aws-efs-csi-driver/blob/66c2106f313d20d97c8a8ca8efc59c957b245ba6/pkg/driver/config_dir.go#L37).
8886
# Since the official deployment mounts a PV at /var/amazon/efs
8987
# (https://github.com/kubernetes-sigs/aws-efs-csi-driver/blob/66c2106f313d20d97c8a8ca8efc59c957b245ba6/charts/aws-efs-csi-driver/templates/node-daemonset.yaml#L109),
9088
# modifying efs-utils directly would break its standard usage.
@@ -142,8 +140,6 @@ subpackages:
142140
install -p -m 755 src/watchdog/__init__.py ${BUILD_ROOT}/usr/bin/amazon-efs-mount-watchdog
143141
144142
mv ${{targets.contextdir}}/etc/amazon/efs ${{targets.contextdir}}/etc/amazon/efs-static-files
145-
mkdir -p ${{targets.contextdir}}/var/amazon/efs
146-
ln -s /var/amazon/efs ${{targets.contextdir}}/etc/amazon/efs
147143
- name: edit shbang for python
148144
runs: |
149145
d=${{targets.destdir}}
@@ -154,9 +150,6 @@ subpackages:
154150
pipeline:
155151
- runs: |
156152
efs-proxy --help
157-
- runs: |
158-
test "$(readlink /etc/amazon/efs)" = "/var/amazon/efs"
159-
test -d "$(readlink -f /etc/amazon/efs)"
160153
161154
update:
162155
enabled: true

0 commit comments

Comments
 (0)