Skip to content

Commit

Permalink
[castai-pod-pinner] move role and role binding to main chart rather t…
Browse files Browse the repository at this point in the history
…han child (castai#503)
  • Loading branch information
mikenorgate authored Sep 12, 2024
1 parent c49d283 commit 280b0c6
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 95 deletions.
2 changes: 1 addition & 1 deletion charts/castai-pod-pinner/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: castai-pod-pinner
description: CAST AI Pod Pinning deployment chart.
type: application
version: 0.8.0
version: 0.9.0
appVersion: "v0.0.18"
dependencies:
- name: castai-pod-pinner-ext
Expand Down
2 changes: 1 addition & 1 deletion charts/castai-pod-pinner/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# castai-pod-pinner

![Version: 0.8.0](https://img.shields.io/badge/Version-0.8.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.0.18](https://img.shields.io/badge/AppVersion-v0.0.18-informational?style=flat-square)
![Version: 0.9.0](https://img.shields.io/badge/Version-0.9.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.0.18](https://img.shields.io/badge/AppVersion-v0.0.18-informational?style=flat-square)

CAST AI Pod Pinning deployment chart.

Expand Down

This file was deleted.

This file was deleted.

44 changes: 43 additions & 1 deletion charts/castai-pod-pinner/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,51 @@ rules:
resources:
- secrets
resourceNames:
- {{ include "pod-pinner.certsSecretName" . | quote }}
- {{ include "pod-pinner.certsSecretName" . }}
verbs:
- update
- patch
- get
- watch
- apiGroups:
- ""
resources:
- endpoints
verbs:
- list
- watch
- create
- apiGroups:
- ""
resources:
- endpoints
resourceNames:
- {{ include "pod-pinner.leaderServiceName" . }}
verbs:
- get
- update
- patch
- apiGroups:
- "coordination.k8s.io"
resources:
- leases
resourceNames:
- {{ include "pod-pinner.leaderElectionLeaseName" . }}
verbs:
- get
- watch
- update
- apiGroups:
- "coordination.k8s.io"
resources:
- leases
verbs:
- create
- list
- apiGroups:
- ""
resources:
- events
verbs:
- create

0 comments on commit 280b0c6

Please sign in to comment.