-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #550 from GrahamDumpleton/2.7.x-backport-lookup-se…
…rvice-fixes Backport changes needed to support lookup service monitoring.
- Loading branch information
Showing
19 changed files
with
403 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
carvel-packages/training-platform/bundle/config/12-lookup-service/clusterrolebindings.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#! Cluster role bindings for the remote access. | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: educates-remote-access | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: educates-remote-access | ||
subjects: | ||
- kind: ServiceAccount | ||
name: remote-access | ||
namespace: educates |
18 changes: 18 additions & 0 deletions
18
carvel-packages/training-platform/bundle/config/12-lookup-service/clusterroles.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#! Cluster role for the remote access clients. | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: educates-remote-access | ||
rules: | ||
- apiGroups: | ||
- training.educates.dev | ||
resources: | ||
- trainingportals | ||
- workshopenvironments | ||
- workshopsessions | ||
- workshopallocations | ||
- workshops | ||
verbs: | ||
- get | ||
- list | ||
- watch |
9 changes: 9 additions & 0 deletions
9
carvel-packages/training-platform/bundle/config/12-lookup-service/secrets.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: remote-access-token | ||
namespace: educates | ||
annotations: | ||
kubernetes.io/service-account.name: remote-access | ||
kapp.k14s.io/change-rule: "upsert after upserting educates/sa-with-separate-token-secret" | ||
type: kubernetes.io/service-account-token |
8 changes: 8 additions & 0 deletions
8
carvel-packages/training-platform/bundle/config/12-lookup-service/serviceaccounts.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#! ServiceAccount for remote access clients. | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: remote-access | ||
namespace: educates | ||
annotations: | ||
kapp.k14s.io/change-group: "educates/sa-with-separate-token-secret" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Version 2.7.3 | ||
============= | ||
|
||
Upcoming Changes | ||
---------------- | ||
|
||
For details on significant changes in future versions, including feature | ||
deprecations and removals which may necessitate updates to existing workshops, | ||
see [Upcoming changes](upcoming-changes). | ||
|
||
Backported Changes | ||
------------------ | ||
|
||
* Range of changes backported from 3.0.0 in order to support monitoring of | ||
Educates 2.7.3 clusters using the new lookup service included with 3.0.0. It | ||
is believed this should cause no noticeable changes or incompatabilities. If | ||
you have no need for the lookup service, there is no need to upgrade to | ||
Educates 2.7.3 from 2.7.2. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.