Skip to content

Santoseric patch 1 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
labels:
app: goapi
spec:
replicas: 3
replicas: 2
selector:
matchLabels:
app: goapi
Expand Down Expand Up @@ -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: /
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down