Comments (4)
Btw this is the result if I use this docker file only change is the version
FROM linkyard/concourse-helm-resource:2.6.2
ENV PATH=$PATH:/opt/google-cloud-sdk/bin
ENV GCLOUD_SDK_VERSION=234.0.0
ENV GCLOUD_SDK_URL=https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${GCLOUD_SDK_VERSION}-linux-x86_64.tar.gz
# Add helm-gcs pluginf
RUN helm init --client-only && \
helm plugin install https://github.com/viglesiasce/helm-gcs.git --version v0.2.0
# Install gcloud
RUN apk update && apk add curl openssl python \
&& mkdir -p /opt && cd /opt \
&& wget -q -O - $GCLOUD_SDK_URL |tar zxf - \
&& /bin/bash -l -c "echo Y | /opt/google-cloud-sdk/install.sh && exit"
It works fine even the helm on the server is completely different version.
Initializing kubectl...
Cluster "default" set.
User "admin" set.
Context "default" created.
Switched to context "default".
Kubernetes master is running at https://kubernetes
GLBCDefaultBackend is running at https://kubernetes/api/v1/namespaces/kube-system/services/default-http-backend/proxy
Heapster is running at https://kubernetes/api/v1/namespaces/kube-system/services/heapster/proxy
KubeDNS is running at https://kubernetes/api/v1/namespaces/kube-system/services/kube-dns/proxy
Metrics-server is running at https://kubernetes/api/v1/namespaces/kube-system/services/metrics-server/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
Currently deployed namespaces on https://kubernetes:
NAME STATUS AGE
default Active 2d
kube-public Active 2d
kube-system Active 2d
Initializing helm...
Client: &version.Version{SemVer:"v2.6.2", GitCommit:"be3ae4ea91b2960be98c07e8f73754e67e87963c", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.12.2", GitCommit:"7d2b0c73d734f6586ed222a567c5d103fed435be", GitTreeState:"clean"}
Installing helm repository gcs-repo gs://modular-robot-222611-helm-repo
"gcs-repo" has been added to your repositories
Resource setup successful.
Upgrading dev-site
Running command helm upgrade dev-site --set image.repository=gcr.io/modular-robot-222611/app-image --set image.digest=sha256:5b49c8e2c890fbb0a35f6050ed3c5109c5bb47b9e774264f4f3aa85bb69e2033 gcs-repo/"nginx" | tee /tmp/log
Release "dev-site" has been upgraded. Happy Helming!
LAST DEPLOYED: Fri Feb 15 10:33:36 2019
NAMESPACE: default
STATUS: DEPLOYED
RESOURCES:
==> v1/ConfigMap
NAME DATA AGE
dev-site-nginx-static 1 35m
==> v1/Service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
dev-site-nginx ClusterIP 10.3.240.104 <none> 80/TCP 35m
==> v1beta1/Deployment
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
dev-site-nginx 1 2 1 1 35m
==> v1/Pod(related)
NAME READY STATUS RESTARTS AGE
dev-site-nginx-78f78f6b58-bqm6l 1/1 Running 0 35m
dev-site-nginx-bd97c7b66-hpkqc 0/1 Pending 0 0s
NOTES:
1. Get the application URL by running these commands:
export POD_NAME=$(kubectl get pods --namespace default -l "app=nginx,release=dev-site" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl port-forward $POD_NAME 8080:80
Deployed revision 2 of dev-site
from concourse-helm-resource.
Hm, that's really strange, deploying with a version mismatch should not work.. maybe 2.6.2 is so old that it does not even check.
Are you still working on it or may I close the issue?
from concourse-helm-resource.
Hi , I fixed this by removing the quotes.
gcs-repo/"nginx" to gcs-repo/nginx
You can close this .
from concourse-helm-resource.
Great, thanks for the feedback!
from concourse-helm-resource.
Related Issues (20)
- token_path mentioned under wrong section HOT 1
- Support for setting values inline (no yaml file) HOT 1
- Failed to ping registry https://https/v2/ HOT 1
- Check doesn't work with TLS and token_path HOT 3
- [ Feature Request ] Tillerless run HOT 3
- check resource fails when source.release != params.release HOT 5
- Release tillerless tag HOT 4
- Release 2.14.0 breaks cluster_ca (and https cluster_urls) HOT 4
- pr115 breaks kubeconfig tiller_namespace
- Add the ability to reset values HOT 1
- pods is forbidden HOT 1
- Querying too many releases at the end of a build causes the build to fail HOT 7
- Escape override_values
- AWS EKS Support
- New release 2.14.3 HOT 1
- Helm 3 HOT 1
- Request update to 2.16.6 HOT 2
- Support --insecure-skip-tls-verify
- Request update to 2.17.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from concourse-helm-resource.