Repository navigation
Introduce tap APIService, update linkerd tap
#3167
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 all commits
a1ed90f
d471f50
3a00215
41ff959
e07a179
cbb0f0e
6e370f8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
10000
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,6 +38,22 @@ subjects: | |
| name: linkerd-tap | ||
| namespace: {{.Namespace}} | ||
| --- | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| kind: ClusterRoleBinding | ||
| metadata: | ||
| name: linkerd-{{.Namespace}}-tap-auth-delegator | ||
| labels: | ||
| {{.ControllerComponentLabel}}: tap | ||
| {{.ControllerNamespaceLabel}}: {{.Namespace}} | ||
| roleRef: | ||
| apiGroup: rbac.authorization.k8s.io | ||
| kind: ClusterRole | ||
| name: system:auth-delegator | ||
| subjects: | ||
| - kind: ServiceAccount | ||
| name: linkerd-tap | ||
| namespace: {{.Namespace}} | ||
| --- | ||
| kind: ServiceAccount | ||
| apiVersion: v1 | ||
| metadata: | ||
|
|
@@ -46,4 +62,53 @@ metadata: | |
| labels: | ||
| {{.ControllerComponentLabel}}: tap | ||
| {{.ControllerNamespaceLabel}}: {{.Namespace}} | ||
| --- | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the purpose of this
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| kind: RoleBinding | ||
| metadata: | ||
| name: linkerd-{{.Namespace}}-tap-auth-reader | ||
| namespace: kube-system | ||
| labels: | ||
| {{.ControllerComponentLabel}}: tap | ||
| {{.ControllerNamespaceLabel}}: {{.Namespace}} | ||
| roleRef: | ||
| apiGroup: rbac.authorization.k8s.io | ||
| kind: Role | ||
| name: extension-apiserver-authentication-reader | ||
| subjects: | ||
| - kind: ServiceAccount | ||
| name: linkerd-tap | ||
| namespace: {{.Namespace}} | ||
| --- | ||
| kind: Secret | ||
| apiVersion: v1 | ||
| metadata: | ||
| name: linkerd-tap-tls | ||
| namespace: {{ .Namespace }} | ||
| labels: | ||
| {{.ControllerComponentLabel}}: tap | ||
| {{.ControllerNamespaceLabel}}: {{.Namespace}} | ||
| annotations: | ||
| {{ .CreatedByAnnotation }}: {{ .CliVersion }} | ||
| type: Opaque | ||
| data: | ||
| crt.pem: {{ b64enc .Tap.CrtPEM }} | ||
| key.pem: {{ b64enc .Tap.KeyPEM }} | ||
| --- | ||
| apiVersion: apiregistration.k8s.io/v1 | ||
| kind: APIService | ||
| metadata: | ||
| name: v1alpha1.tap.linkerd.io | ||
| labels: | ||
| {{.ControllerComponentLabel}}: tap | ||
| {{.ControllerNamespaceLabel}}: {{.Namespace}} | ||
| spec: | ||
| group: tap.linkerd.io | ||
| version: v1alpha1 | ||
| groupPriorityMinimum: 1000 | ||
| versionPriority: 100 | ||
| service: | ||
| name: linkerd-tap | ||
| namespace: {{.Namespace}} | ||
| caBundle: {{ b64enc .Tap.CrtPEM }} | ||
| {{end -}} | ||
Uh oh!
There was an error while loading. Please reload this page.