Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions deploy/Dockerfile.kubeconfiggenerator
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ RUN pip3 install pyyaml

# Copy files to the image
COPY kubeconfiggenerator.py /root/.
COPY kubeconfiggenerator.sh /root/.
ADD requirements.txt /root/requirements.txt

# Install Python dependencies
Expand All @@ -25,7 +24,7 @@ RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/s
rm kubectl

# Set executable permissions for scripts
RUN chmod +x /root/kubeconfiggenerator.sh /root/kubeconfiggenerator.py
RUN chmod +x /root/kubeconfiggenerator.py

# Install Helm, clean up tar files
RUN wget https://get.helm.sh/helm-v3.12.1-linux-amd64.tar.gz && \
Expand Down
11 changes: 0 additions & 11 deletions deploy/kubeconfiggenerator.sh

This file was deleted.

1 change: 0 additions & 1 deletion deploy/kubeplus-chart/templates/kubeplus-components-6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
#command: ["./root/kubeconfiggenerator.sh"]
command: [ "python3", "/root/kubeconfiggenerator.py"]
args:
- "$(KUBEPLUS_NAMESPACE)"
Expand Down
Loading