File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM scratch
1+ FROM alpine
22
33ADD server /
44
5+ RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
6+
57CMD ["/server" ]
Original file line number Diff line number Diff line change 1717 app : taka-api
1818 spec :
1919 containers :
20- - image : gcr.io/k8s-aksels/github-takaapp-api:v0.9
20+ - image : gcr.io/k8s-aksels/github-takaapp-api:v1.0
2121 name : taka-api-container
22+ imagePullPolicy : Always
23+ env :
24+ - name : GOOGLE_PLACES_API_KEY
25+ valueFrom :
26+ secretKeyRef :
27+ name : taka-api-secret
28+ key : GOOGLE_PLACES_API_KEY
29+ - name : ALGOLIA_SECRET
30+ valueFrom :
31+ secretKeyRef :
32+ name : taka-api-secret
33+ key : ALGOLIA_SECRET
34+ - name : ALGOLIA_APP_ID
35+ valueFrom :
36+ secretKeyRef :
37+ name : taka-api-secret
38+ key : ALGOLIA_APP_ID
2239 resources :
2340 requests :
2441 cpu : " 20m"
2744 - containerPort : 1323
2845 name : taka-api-port
2946 restartPolicy : Always
30-
Original file line number Diff line number Diff line change @@ -11,5 +11,5 @@ import (
1111// it is important otherwise services (eq cloudfare) will health check on /
1212// and will think the server died
1313func GetDocs (c echo.Context ) error {
14- return c .String (http .StatusOK , "Version 0.9 " )
14+ return c .String (http .StatusOK , "Version 1.0 " )
1515}
You can’t perform that action at this time.
0 commit comments