diff --git a/deployment.yaml b/deployment.yaml index 562e956..9e10211 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -8,7 +8,7 @@ metadata: labels: app: goapi spec: - replicas: 3 + replicas: 2 selector: matchLabels: app: goapi @@ -51,7 +51,7 @@ metadata: allow.http: "false" spec: rules: - - host: go.rancher.dev-ops-ninja.com + - host: go.rancher.devops-lab.click http: paths: - path: / diff --git a/main.go b/main.go index 3d5077d..37b836c 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,7 @@ import ( "log" ) -const webContent = "dev-ops-ninja:v99" +const webContent = "Test of automatic deployment on Kubernetes integrating the Github on Rancher :) \nv0.1" func main() { http.HandleFunc("/", helloHandler)