Skip to content

Conversation

@alpeb
Copy link
Member

@alpeb alpeb commented Jun 2, 2025

The intent of this change is to enable extensions to access Linkerd's configuration.

It introduces the linkerd-config RoleBinding, associated to the existing Role ext-namespace-metadata-linkerd-config that grants read access to the linkerd-config ConfigMap (that Role name is now outdated but leaving as-is to avoid disruption).

The service accounts for that binding are to be listed on the new values.yaml entry configReaders, for example:

configReaders:
- name: ext1
  namespace: linkerd-ext1
- name: ext2
  namespace: linkerd-ext2

The intent of this change is to enable extensions to access Linkerd's
configuration.

It introduces the linkerd-config RoleBinding, associated to the existing
Role `ext-namespace-metadata-linkerd-config` that grants read access to
the linkerd-config ConfigMap (that Role name is now outdated but leaving
as-is to avoid disruption).

The service accounts for that binding are to be listed on the new
`values.yaml` entry `configAccess`, for example:

```yaml
configAccess:
- name: ext1
  namespace: linkerd-ext1
- name: ext2
  namespace: linkerd-ext2
```
@alpeb alpeb requested a review from a team as a code owner June 2, 2025 20:01
@alpeb alpeb force-pushed the alpeb/linkerd-config-rb branch from 06fe4e4 to 1b57ee4 Compare June 2, 2025 21:58
Copy link
Member

@olix0r olix0r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small naming suggestion

@alpeb alpeb merged commit e7c6797 into main Jun 5, 2025
37 checks passed
@alpeb alpeb deleted the alpeb/linkerd-config-rb branch June 5, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants