Skip to content

Commit

Permalink
fix braces
Browse files Browse the repository at this point in the history
  • Loading branch information
frederickbaier committed Apr 23, 2023
1 parent 9db7037 commit 8bb593d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion charts/simplecloud/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.4
version: 0.1.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
32 changes: 16 additions & 16 deletions charts/simplecloud/templates/simplecloud-depl.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: { { .Values.appName } }
name: {{ .Values.appName }}
labels:
app: { { .Values.appName } }
app: {{ .Values.appName }}
spec:
replicas: { { .Values.replicas } }
replicas: {{ .Values.replicas }}
strategy:
type: Recreate
selector:
matchLabels:
app: { { .Values.appName } }
app: {{ .Values.appName }}
template:
metadata:
labels:
app: { { .Values.appName } }
app: {{ .Values.appName }}
spec:
serviceAccountName: simplecloud
containers:
- name: default
image: { { .Values.image } }
image: {{ .Values.image }}
ports:
- containerPort: 8008
env:
Expand All @@ -28,40 +28,40 @@ spec:
fieldRef:
fieldPath: status.podIP
- name: REBUILD_REGISTRY
value: { { .Values.init.registry } }
value: {{ .Values.init.registry }}
- name: BUILDKIT_ADDR
value: { { .Values.init.buildkit } }
value: {{ .Values.init.buildkit }}
- name: INIT_USER_NAME
value: { { .Values.init.user.name } }
value: {{ .Values.init.user.name }}
- name: INIT_USER_UUID
value: { { .Values.init.user.uuid } }
value: {{ .Values.init.user.uuid }}
- name: INIT_USER_PASSWORD
value: { { .Values.init.user.password } }
value: {{ .Values.init.user.password }}
- name: INIT_DB_CONNECTION
value: { { .Values.init.mongo } }
value: {{ .Values.init.mongo }}

---
apiVersion: v1
kind: Service
metadata:
name: rest
spec:
type: { { .Values.service.rest.type } }
type: {{ .Values.service.rest.type }}
selector:
app: { { .Values.appName } }
app: {{ .Values.appName }}
ports:
- protocol: TCP
port: 8008
targetPort: 8008
nodePort: { { .Values.service.rest.nodePort } }
nodePort: {{ .Values.service.rest.nodePort }}
---
apiVersion: v1
kind: Service
metadata:
name: distribution
spec:
selector:
app: { { .Values.appName } }
app: {{ .Values.appName }}
ports:
- protocol: TCP
port: 1670
Expand Down

0 comments on commit 8bb593d

Please sign in to comment.