Skip to content

Commit

Permalink
Add rbac for the leader election lease (#1441)
Browse files Browse the repository at this point in the history
  • Loading branch information
AliDatadog authored Jul 3, 2024
1 parent 6c70925 commit 3f840ea
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
4 changes: 4 additions & 0 deletions charts/extended-daemon-set/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.3.2

* Add RBAC for the leader election lease.

## 0.3.1

* Migrate from `kubeval` to `kubeconform` for ci chart validation.
Expand Down
2 changes: 1 addition & 1 deletion charts/extended-daemon-set/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: v0.8.0
description: Extended Daemonset Controller
name: extendeddaemonset
version: v0.3.1
version: v0.3.2
keywords:
- monitoring
- alerting
Expand Down
2 changes: 1 addition & 1 deletion charts/extended-daemon-set/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Extended DaemonSet

![Version: v0.3.1](https://img.shields.io/badge/Version-v0.3.1-informational?style=flat-square) ![AppVersion: v0.8.0](https://img.shields.io/badge/AppVersion-v0.8.0-informational?style=flat-square)
![Version: v0.3.2](https://img.shields.io/badge/Version-v0.3.2-informational?style=flat-square) ![AppVersion: v0.8.0](https://img.shields.io/badge/AppVersion-v0.8.0-informational?style=flat-square)

This chart installs the Extended DaemonSet (EDS). It aims to provide a new implementation of the Kubernetes DaemonSet resource with key features:
- Canary Deployment: Deploy a new DaemonSet version with only a few nodes.
Expand Down
16 changes: 16 additions & 0 deletions charts/extended-daemon-set/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,22 @@ rules:
- update
- get
- watch
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create
- apiGroups:
- coordination.k8s.io
resources:
- leases
resourceNames:
- extendeddaemonset-lock
verbs:
- update
- get
- watch
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit 3f840ea

Please sign in to comment.