Skip to content

Commit

Permalink
release v1.2.0 (#39)
Browse files Browse the repository at this point in the history
release v1.2.0
  • Loading branch information
weilaaa authored Apr 29, 2022
1 parent 9be3892 commit e37fa84
Show file tree
Hide file tree
Showing 517 changed files with 54,395 additions and 3,670 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,7 @@ os_arch=amd64

### Build dependence image
```bash
wget https://kubecube.nos-eastchina1.126.net/helm/helm-v3.5.4-linux-amd64.tar.gz -O helm.tar.gz
docker build -f ./dependence.Dockerfile -t hub.c.163.com/kubecube/warden-dependence:latest .
rm ./helm.tar.gz
```
53 changes: 0 additions & 53 deletions audit/audit.yaml

This file was deleted.

File renamed without changes.
4 changes: 0 additions & 4 deletions cube.conf

This file was deleted.

9 changes: 5 additions & 4 deletions dependence.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ ARG arch=amd64
ARG kubectl_version=v1.22.2

# load dependces into image
COPY hnc/hnc.yaml /etc/kubecube/manifests/hnc/hnc.yaml
COPY ingress-controller/ingress-controller.yaml /etc/kubecube/manifests/ingress-controller/ingress-controller.yaml
COPY local-path-storage/local-path-storage.yaml /etc/kubecube/manifests/local-path-storage/local-path-storage.yaml
COPY metrics-server/metrics-server.yaml /etc/kubecube/manifests/metrics-server/metrics-server.yaml
COPY kubecube /etc/kubecube/manifests/kubecube
COPY install_third_dependence.sh install_third_dependence.sh

# add helm bin
ADD helm.tar.gz .
RUN chmod +x ./linux-${arch}/helm && mv ./linux-${arch}/helm /bin/helm

# downloads kubectl
RUN wget https://storage.googleapis.com/kubernetes-release/release/${kubectl_version}/bin/linux/${arch}/kubectl --no-check-certificate
RUN chmod +x kubectl && mv kubectl /bin/kubectl
Expand Down
8 changes: 3 additions & 5 deletions entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function env_check() {
fi

echo -e "\033[32m|---------------------------------------------------------------------|\033[0m"
echo -e "\033[32m| sshpass | conntrack | unzip | libseccomp_has |\033[0m"
echo -e "\033[32m| sshpass | conntrack | unzip | libseccomp |\033[0m"
echo -e "\033[32m|---------------------------------------------------------------------|\033[0m"
echo -e "\033[32m| ${sshpass_has} | ${conntrack_has} | ${unzip_has} | ${libseccomp_has} |\033[0m"
echo -e "\033[32m|---------------------------------------------------------------------|\033[0m"
Expand All @@ -64,7 +64,7 @@ if [ -e "./manifests" ]; then
echo -e "$(date +'%Y-%m-%d %H:%M:%S') \033[32mINFO\033[0m manifests already exist"
else
echo -e "$(date +'%Y-%m-%d %H:%M:%S') \033[32mINFO\033[0m downloading manifests for kubecube"
wget https://kubecube.nos-eastchina1.126.net/kubecube-installer/v1.1/manifests.tar.gz -O manifests.tar.gz
wget https://kubecube.nos-eastchina1.126.net/kubecube-installer/v1.2/manifests.tar.gz -O manifests.tar.gz

tar -xzvf manifests.tar.gz > /dev/null
fi
Expand All @@ -75,9 +75,7 @@ if [[ ${CUSTOMIZE} = "true" ]]; then
echo -e "\033[32m 'cd /etc/kubecube/manifests' \033[0m"
echo -e "\033[32m 2. Please modify install.conf \033[0m"
echo -e "\033[32m 'vi install.conf' \033[0m"
echo -e "\033[32m 3. Please modify cube.conf(optional) \033[0m"
echo -e "\033[32m 'vi cube.conf' \033[0m"
echo -e "\033[32m 4. Confirm every args then do command below: \033[0m"
echo -e "\033[32m 3. Confirm every args then do command below: \033[0m"
echo -e "\033[32m '/bin/bash install.sh' \033[0m"
echo -e "\033[32m================================================\033[0m"
exit 0
Expand Down
Binary file removed helm/helm-v3.5.4-linux-amd64.tar.gz
Binary file not shown.
Binary file removed helm/helm-v3.6.2-linux-arm64.tar.gz
Binary file not shown.
Loading

0 comments on commit e37fa84

Please sign in to comment.