Skip to content

Commit 3132ea4

Browse files
More Explicit Text to Not Run SA Permissions Commands, Edit Max Number of Sessions Instructions, Tag Image as 2.0 #61
2 parents f37c639 + 829c163 commit 3132ea4

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.workshop/settings.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
WORKSHOP_NAME=lab-tekton-pipelines
2-
WORKSHOP_IMAGE=quay.io/openshiftlabs/lab-tekton-pipelines:latest
2+
WORKSHOP_IMAGE=quay.io/openshiftlabs/lab-tekton-pipelines:2.0
33
CONSOLE_IMAGE=quay.io/openshift/origin-console:4.2
44
RESOURCE_BUDGET=custom
55
MAX_SESSION_AGE=7200
66
IDLE_TIMEOUT=300
7+
SERVER_LIMIT=50

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,13 @@ Next create a project in OpenShift into which the workshop is to be deployed.
3030
oc new-project workshops
3131
```
3232

33-
From within the top level of the Git repository, now run the command below. **NOTE:** You
34-
will want to set the `n` as part of `--override SERVER_LIMIT=n` to the number of users
35-
you will expect as part of your workshop.
33+
**NOTE:** The default max number of sessions (i.e. users who can access the workshop at the same time) defaults to 50. The number for the max number
34+
of sessions can be set in [settings.sh](./.workshop/settings.sh) using the `SERVER_LIMIT` property. If 50 is not enough sessions or too many, the amount can be increased or decreased by changing the property from 50 to the expected number of users. It's also important to make sure your OpenShift cluster can support as many users that the workshop needs.
35+
36+
From within the top level of the Git repository, now run the command below.
3637

3738
```
38-
./.workshop/scripts/deploy-spawner.sh --override SERVER_LIMIT=n
39+
./.workshop/scripts/deploy-spawner.sh
3940
```
4041

4142
The name of the deployment will be `lab-tekton-pipelines`.

workshop/content/exercises/serviceaccount.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ later in this workshop. This is how you will connect the `pipeline` service acco
3030
to the pipeline run.
3131

3232
For reference, you can add the permissions used by `pipeline` to a service account
33-
using the `oc` commands below:
33+
using the `oc` commands below. However, you do not need to run these commands now as
34+
`pipeline` has been set up for you with the appropriate permissions.
3435

3536
[source,bash]
3637
----

0 commit comments

Comments
 (0)