Change response content type to text/plain

- bump version 0.0.8
This commit is contained in:
Stefan Prodan
2018-02-23 01:42:45 +02:00
parent 83f679e3c0
commit 7b72c7952d
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ backend: http://backend-podinfo:9898/echo
image:
repository: stefanprodan/podinfo
tag: 0.0.7
tag: 0.0.8
pullPolicy: IfNotPresent
service:
+1 -1
View File
@@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: podinfod
image: stefanprodan/podinfo:0.0.1
image: stefanprodan/podinfo:0.0.8
imagePullPolicy: Always
command:
- ./podinfo
+1 -1
View File
@@ -37,7 +37,7 @@ spec:
topologyKey: "kubernetes.io/hostname"
containers:
- name: probe
image: stefanprodan/podinfo:0.0.7
image: stefanprodan/podinfo:0.0.8
command:
- ./podinfo
- -port=9898
+2 -2
View File
@@ -36,7 +36,7 @@ func (s *Server) index(w http.ResponseWriter, r *http.Request) {
return
}
w.Header().Set("Content-Type", "text/x-yaml; charset=utf-8")
w.Header().Set("Content-Type", "text/plain; charset=utf-8")
w.Header().Set("X-Content-Type-Options", "nosniff")
w.WriteHeader(http.StatusOK)
w.Write(d)
@@ -209,7 +209,7 @@ func (s *Server) version(w http.ResponseWriter, r *http.Request) {
return
}
w.Header().Set("Content-Type", "text/x-yaml; charset=utf-8")
w.Header().Set("Content-Type", "text/plain; charset=utf-8")
w.Header().Set("X-Content-Type-Options", "nosniff")
w.WriteHeader(http.StatusOK)
w.Write(d)
+1 -1
View File
@@ -1,4 +1,4 @@
package version
var VERSION = "0.0.7"
var VERSION = "0.0.8"
var GITCOMMIT = "unknown"