Skip to content

Commit

Permalink
Use fullname instead of name to name resource (#68)
Browse files Browse the repository at this point in the history
Signed-off-by: Yellowhat <yellowhat46@gmail.com>
  • Loading branch information
yellowhat authored Oct 30, 2024
1 parent 449a5b8 commit de1b787
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions chart/kepler/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: kepler
description: A Helm chart for kepler (Kubernetes-based Efficient Power Level Exporter)
description: A Helm chart for kepler (Kubernetes-based Efficient Power Level Exporter)
icon: "https://avatars.githubusercontent.com/u/91567619?s=200&v=4"
home: https://sustainable-computing.io/html/index.html
sources:
Expand All @@ -19,8 +19,8 @@ annotations:
artifacthub.io/license: "Apache-2.0"
artifacthub.io/signKey: |
fingerprint: 91BF31657FB6BB5931CBFCF92A544B84946E3621
url: https://keybase.io/bradmccoydev/pgp_keys.asc
url: https://keybase.io/bradmccoydev/pgp_keys.asc
type: application
version: 0.5.9
version: 0.5.10
appVersion: release-0.7.11
2 changes: 1 addition & 1 deletion chart/kepler/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: {{ include "kepler.name" . }}
name: {{ include "kepler.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "kepler.labels" . | nindent 4 }}
Expand Down
6 changes: 3 additions & 3 deletions chart/kepler/templates/rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "kepler.name" . }}-clusterrole
name: {{ include "kepler.fullname" . }}-clusterrole
rules:
- apiGroups: [""]
resources:
Expand All @@ -19,10 +19,10 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ include "kepler.name" . }}-clusterrole-binding
name: {{ include "kepler.fullname" . }}-clusterrole-binding
roleRef:
kind: ClusterRole
name: {{ include "kepler.name" . }}-clusterrole
name: {{ include "kepler.fullname" . }}-clusterrole
apiGroup: "rbac.authorization.k8s.io"
subjects:
- kind: ServiceAccount
Expand Down
2 changes: 1 addition & 1 deletion chart/kepler/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "kepler.name" . }}
name: {{ include "kepler.fullname" . }}
namespace: {{ .Release.Namespace }}
labels:
{{- include "kepler.labels" . | nindent 4 }}
Expand Down

0 comments on commit de1b787

Please sign in to comment.