-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revise the chart template according to the feedback
- Loading branch information
Showing
10 changed files
with
143 additions
and
188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
charts/scalar-manager/templates/scalar-manager/clusterrolebinding.yaml
This file was deleted.
Oops, something went wrong.
10 changes: 3 additions & 7 deletions
10
charts/scalar-manager/templates/scalar-manager/configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ include "scalar-manager.fullname" . }} | ||
name: {{ include "scalar-manager.fullname" . }}-api-application-properties | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/app: {{ include "scalar-manager.fullname" . }} | ||
{{- include "scalar-manager.labels" . | nindent 4 }} | ||
data: | ||
managed-clusters: "[]" | ||
paused-states: "[]" | ||
paused-states-updated-at: "0" | ||
scalar-manager-api-application.properties: | ||
{{- toYaml .Values.api.applicationProperties | nindent 4 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...templates/scalar-manager/clusterrole.yaml → ...anager/templates/scalar-manager/role.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
charts/scalar-manager/templates/scalar-manager/rolebinding.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: {{ include "scalar-manager.fullname" . }}-rolebinding | ||
namespace: {{ .Release.Namespace }} | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ include "scalar-manager.serviceAccountName" . }} | ||
roleRef: | ||
kind: Role | ||
name: {{ include "scalar-manager.fullname" . }}-role | ||
apiGroup: rbac.authorization.k8s.io |
2 changes: 1 addition & 1 deletion
2
charts/scalar-manager/templates/scalar-manager/serviceaccount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.