Skip to content

Commit

Permalink
Merge pull request #628 from rstudio/workbench-make-a-values-file
Browse files Browse the repository at this point in the history
WORKBENCH Add some install value fies
  • Loading branch information
jforest authored Dec 12, 2024
2 parents 10d4bed + 3a3c390 commit 2cdb401
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ci/rstudio-workbench/install/basic-ingress-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
license:
file:
secret: pwb-license
secretKey: pwb.lic

ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: traefik

hosts:
- host: workbench.rstudio.com
paths:
- path: /test/
10 changes: 10 additions & 0 deletions ci/rstudio-workbench/install/basic-service-account-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
license:
file:
secret: pwb-license
secretKey: pwb.lic

rbac:
create: true
serviceAccount:
name: test-sa
create: true
58 changes: 58 additions & 0 deletions ci/rstudio-workbench/install/launcher-template-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
license:
file:
secret: pwb-license
secretKey: pwb.lic

config:
sessionSecret:
example-file.json: '{"some-contents": "test"}'
launcher:
enabled: true
useTemplates: true
templateValues:
service:
type: ClusterIP
annotations:
five: six
job:
ttlSecondsAfterFinished: 99
annotations:
seven: eight
labels:
nine: ten
pod:
serviceAccountName: test
annotations:
one: two
labels:
three: four
volumes:
- name: test
emptyDir: {}
volumeMounts:
- name: test
mountPath: /tmp/mnt
env:
- name: SOME_ENV_VAR
value: the-env-var-value
securityContext:
runAsUser: 999
defaultSecurityContext:
fsGroupChangePolicy: "Always"
runAsGroup: 999
containerSecurityContext:
privileged: false
tolerations:
- key: "kubernetes.azure.com/scalesetpriority"
operator: "Equal"
value: "spot"
effect: "NoSchedule"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "kubernetes.azure.com/scalesetpriority"
operator: In
values:
- "spot"
8 changes: 8 additions & 0 deletions ci/rstudio-workbench/install/user-create-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
license:
file:
secret: pwb-license
secretKey: pwb.lic

userCreate: true
userName: jforest-test
userPassword: djhkjhij870jjbJye

0 comments on commit 2cdb401

Please sign in to comment.