Skip to content

Commit

Permalink
Add kubernetes manifests and fix emojis
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirrezaNasiri committed Sep 23, 2023
1 parent 5967365 commit 3e897ac
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 7 deletions.
12 changes: 6 additions & 6 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@ paths:
versions:
- version: 0.1.0
vars:
emoji: "🧘‍♂️⬜🦠"
emoji: "🧘⬜🦠"
message: "[Initial commit] Add a meal serving cloth (Sofreh)"
- version: 0.1.1
vars:
emoji: "🧘‍♂️⬜✨"
emoji: "🧘⬜✨"
message: "[Fix] Cleanup the cloth"
- version: 0.2.0
vars:
emoji: "🧘‍♂️🍞🦠"
emoji: "🧘🍞🦠"
message: "[Feature] Add Sangak bread"
- version: 0.2.1
vars:
emoji: "🧘‍♂️🍞✨"
emoji: "🧘🍞✨"
message: "[Fix] Use perfectly baked Sangak bread"
- version: 0.3.0
vars:
emoji: "🧘‍♂️🥖🦠"
emoji: "🧘🥖🦠"
message: "[Feature] Add Barbari bread"
- version: 0.3.1
vars:
emoji: "🧘‍♂️🥖✨"
emoji: "🧘🥖✨"
message: "[Fix] Use unbiten Barbari bread"
- version: 1.0.0
vars:
Expand Down
29 changes: 29 additions & 0 deletions docs/examples/kubernetes/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: breakfast
name: breakfast
spec:
replicas: 2
selector:
matchLabels:
app: breakfast
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
labels:
app: breakfast
spec:
containers:
- image: evryn/breakfast:0.1.0
imagePullPolicy: IfNotPresent
name: breakfast
ports:
- name: http
containerPort: 8080
protocol: TCP
16 changes: 16 additions & 0 deletions docs/examples/kubernetes/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: breakfast
name: breakfast-svc
spec:
selector:
app: breakfast
type: NodePort
ports:
- name: http
nodePort: 30080
port: 8080
protocol: TCP
targetPort: 8080
2 changes: 1 addition & 1 deletion templates/short.gtpl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v{{ .Version }} ({{ index .Vars "emoji" }})
v{{ .Version }} ({{ index .Vars "emoji" }})

0 comments on commit 3e897ac

Please sign in to comment.