-
Notifications
You must be signed in to change notification settings - Fork 226
Install flag for helm and additional kustomize file for raw yaml for pure Namespace scoping #149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
74c5edc
a5f977a
46bace7
0cfc640
7d370da
b7b9eb4
66af7d7
a032924
34bff50
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| resources: | ||
RedbackThomson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - ../../default | ||
| patches: | ||
| - path: role.json | ||
| target: | ||
| group: rbac.authorization.k8s.io | ||
| version: v1 | ||
| kind: ClusterRole | ||
| name: ack-sagemaker-controller | ||
| - path: role-binding.json | ||
| target: | ||
| group: rbac.authorization.k8s.io | ||
| version: v1 | ||
| kind: ClusterRoleBinding | ||
| name: ack-sagemaker-controller-rolebinding | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| [{"op": "replace", | ||
| "path": "/kind", | ||
| "value": "RoleBinding"}, | ||
|
|
||
|
||
|
|
||
| {"op": "add", | ||
| "path": "/metadata/namespace", | ||
| "value": "ack-system"}, | ||
|
|
||
|
|
||
| {"op": "replace", | ||
| "path": "/roleRef/kind", | ||
| "value": "Role"} | ||
| ] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| [{"op": "replace", | ||
| "path": "/kind", | ||
| "value": "Role"}, | ||
|
|
||
|
|
||
| {"op": "add", | ||
| "path": "/metadata/namespace", | ||
| "value": "ack-system"} | ||
| ] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
|
|
||
ryansteakley marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| --- | ||
ryansteakley marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| {{ if not .Values.namespacedInstallation }} | ||
| kind: ClusterRole | ||
| metadata: | ||
| creationTimestamp: null | ||
| name: ack-sagemaker-controller | ||
| {{ else }} | ||
| kind: Role | ||
| metadata: | ||
| creationTimestamp: null | ||
| name: ack-sagemaker-controller | ||
| namespace: {{ .Release.Namespace }} | ||
| {{ end }} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,22 @@ | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| {{ "{{ if not .Values.namespacedInstallation }}" }} | ||
|
||
| kind: ClusterRoleBinding | ||
| metadata: | ||
| name: {{ "{{ include \"app.fullname\" . }}" }} | ||
| roleRef: | ||
| apiGroup: rbac.authorization.k8s.io | ||
| kind: ClusterRole | ||
| name: ack-{{ .ServiceIDClean }}-controller | ||
| {{ "{{ else }}" }} | ||
| kind: RoleBinding | ||
| metadata: | ||
| name: {{ "{{ include \"app.fullname\" . }}" }} | ||
| namespace: {{ "{{ .Release.Namespace }}" }} | ||
RedbackThomson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| roleRef: | ||
| apiGroup: rbac.authorization.k8s.io | ||
| kind: Role | ||
| name: ack-{{ .ServiceIDClean }}-controller | ||
|
||
| {{ "{{ end }}" }} | ||
| subjects: | ||
| - kind: ServiceAccount | ||
| name: {{ "{{ include \"service-account.name\" . }}" }} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,6 +47,10 @@ log: | |
| # If specified, the service controller will watch for object creation only in the provided namespace | ||
| watchNamespace: "" | ||
|
|
||
| # If specified, the service controller will use Role/Rolebinding instead of ClusterRole/ClusterRoleBindings | ||
ryansteakley marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| # If set to true, user must set watchNamespace as well. | ||
ryansteakley marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| namespacedInstallation: false | ||
|
||
|
|
||
| resourceTags: | ||
| # Configures the ACK service controller to always set key/value pairs tags on resources that it manages. | ||
| - services.k8s.aws/managed=true | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.