Browse Source

fix: SonarCloud security hotspot (#4235)

Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
Gergely Brautigam 1 year ago
parent
commit
2b4e4a3bc7
2 changed files with 3 additions and 3 deletions
  1. 1 1
      docs/snippets/gitops/repositories.yaml
  2. 2 2
      e2e/Dockerfile

+ 1 - 1
docs/snippets/gitops/repositories.yaml

@@ -17,4 +17,4 @@ spec:
   interval: 10m
   interval: 10m
   ref:
   ref:
     tag: v0.10.3
     tag: v0.10.3
-  url: http://github.com/external-secrets/external-secrets
+  url: https://github.com/external-secrets/external-secrets

+ 2 - 2
e2e/Dockerfile

@@ -4,9 +4,9 @@ ENV KUBECTL_VERSION="v1.28.3"
 ENV HELM_VERSION="v3.13.1"
 ENV HELM_VERSION="v3.13.1"
 
 
 RUN go install github.com/onsi/ginkgo/v2/ginkgo@v2.1.6
 RUN go install github.com/onsi/ginkgo/v2/ginkgo@v2.1.6
-RUN wget -q https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl && \
+RUN wget --max-redirect=0 -q https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl -O /usr/local/bin/kubectl && \
     chmod +x /usr/local/bin/kubectl && \
     chmod +x /usr/local/bin/kubectl && \
-    wget -q https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm && \
+    wget --max-redirect=0 -q https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm && \
     chmod +x /usr/local/bin/helm
     chmod +x /usr/local/bin/helm
 
 
 WORKDIR /usr/src/app
 WORKDIR /usr/src/app