Skip to content

Commit

Permalink
fix: add necessary env vars for bootstrapping connector; fixed connec…
Browse files Browse the repository at this point in the history
…tor replicas to 1; turn creating user / workspace to on by default
  • Loading branch information
raycursive committed Oct 15, 2021
1 parent 9493b22 commit 34b61db
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/tellery/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: tellery
type: application
version: 0.0.13
version: 0.0.14
appVersion: 0.8.2
icon: https://avatars.githubusercontent.com/u/86034719?s=400&v=4
description: A Helm Chart for quickly installing highly available Tellery on Kubernetes
Expand Down
11 changes: 8 additions & 3 deletions charts/tellery/templates/deployment-connector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
chart: "{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}"
release: {{ .Release.Name }}
spec:
replicas: {{ .Values.connector.replicas }}
replicas: 1
selector:
matchLabels:
app: {{ include "tellery.fullname" . }}
Expand Down Expand Up @@ -49,18 +49,23 @@ spec:
imagePullPolicy: {{ default "IfNotPresent" .Values.images.connector.pullPolicy }}
ports:
- containerPort: {{ include "connector.port" . }}
env:
- name: connector.deployMode
value: LOCAL
- name: connector.workspaceId
value: '0'
livenessProbe:
tcpSocket:
port: {{ include "connector.port" . }}
initialDelaySeconds: {{ .Values.connector.probeInitialDelaySeconds }}
initialDelaySeconds: {{ .Values.connector.probeInitialDelaySeconds }}
timeoutSeconds: 3
periodSeconds: 30
successThreshold: 1
failureThreshold: 5
readinessProbe:
tcpSocket:
port: {{ include "connector.port" . }}
initialDelaySeconds: {{ .Values.connector.probeInitialDelaySeconds }}
initialDelaySeconds: {{ .Values.connector.probeInitialDelaySeconds }}
timeoutSeconds: 3
periodSeconds: 30
successThreshold: 1
Expand Down
4 changes: 2 additions & 2 deletions charts/tellery/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,10 @@ system:

init:
user:
create: false
create: true
name: admin
email: [email protected]
password: admin
workspace:
create: false
create: true
name: Default

0 comments on commit 34b61db

Please sign in to comment.