Skip to content

Commit

Permalink
update k8chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Lagrimas committed Sep 22, 2023
1 parent eb0dfd9 commit fcb3674
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
10 changes: 5 additions & 5 deletions k8chart/templates/oxo2-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: { { .Values.name } }
name: {{.Values.name}}
labels:
app: { { .Values.name } }
app: {{.Values.name}}
spec:
replicas: 1
selector:
matchLabels:
app: { { .Values.name } }
app: {{.Values.name}}
template:
metadata:
labels:
app: { { .Values.name } }
app: {{.Values.name}}
spec:
containers:
- name: web
Expand All @@ -30,5 +30,5 @@ spec:
env:
- name: PUBLIC_URL
value: /spot/oxo2
env_file: { { .Values.envFile } }
env_file: {{.Values.envFile}}
command: ["/bin/bash", "-c"]
6 changes: 3 additions & 3 deletions k8chart/templates/oxo2-service.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: { { .Values.name } }
name: {{.Values.name}}
labels:
app: { { .Values.name } }
app: {{.Values.name}}
spec:
type: NodePort
ports:
- name: "application"
port: 8080
selector:
app: { { .Values.name } }
app: {{.Values.name}}
3 changes: 2 additions & 1 deletion k8chart/values.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
name: oxo2
envFile: ./.env
envFile: ./.env
imageTag: dev

0 comments on commit fcb3674

Please sign in to comment.