Skip to content

Commit 7d02c26

Browse files
authored
Added path and exec permission to container file and readme modification for uninstall (#21)
* Example readme and yamls corrections Signed-off-by: Punith Kenchappa <[email protected]> * fix not found of power-dra-kubeletplugin and cdi file Signed-off-by: Punith Kenchappa <[email protected]> * Added path and exec permission to container file and readme modification for uninstall Signed-off-by: Punith Kenchappa <[email protected]> --------- Signed-off-by: Punith Kenchappa <[email protected]>
1 parent 84299ff commit 7d02c26

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@ helm upgrade -i \
2929
## Uninstall
3030

3131
```
32-
helm uninstall -i \
33-
--create-namespace \
34-
--namespace power-dra-driver \
35-
power-dra-driver \
36-
deployments/helm/power-dra-driver
32+
helm uninstall power-dra-driver -n power-dra-driver
3733
```
3834

3935
## References

build/Containerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RUN [ "$(arch)" == "s390x" ]
4040
|| echo "Not running on s390x, skip linking gcc binary"
4141

4242
ENV GOROOT=/usr/local/go
43-
ENV PATH="/root/platform/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin/$GOROOT/bin"
43+
ENV PATH="/root/platform/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:$GOROOT/bin:/opt/power-dra/bin"
4444

4545
COPY . .
4646

@@ -65,5 +65,6 @@ WORKDIR /
6565

6666
COPY ./build/entrypoint.sh /
6767
COPY --from=builder /workspace/bin/power-dra-kubeletplugin /opt/power-dra/bin/
68+
RUN chmod +x /opt/power-dra/bin/power-dra-kubeletplugin
6869

6970
ENTRYPOINT ["/entrypoint.sh"]

build/Containerfile-build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ WORKDIR /
1313

1414
COPY ./build/entrypoint.sh /
1515
COPY bin/* /opt/power-dra/bin/
16+
RUN chmod +x /opt/power-dra/bin/power-dra-kubeletplugin
1617

1718
ENTRYPOINT ["/entrypoint.sh"]

0 commit comments

Comments
 (0)