-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: publish the risingwave-operator helm chart
Signed-off-by: arkbriar <[email protected]>
- Loading branch information
Showing
30 changed files
with
550 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
HELM_CHARTS=$(shell ls charts) | ||
INCUBATING_HELM_CHARTS=$(shell ls incubating/charts) | ||
#INCUBATING_HELM_CHARTS=$(shell ls incubating/charts) | ||
|
||
lint: | ||
# for each in $(HELM_CHARTS) and $(INCUBATING_HELM_CHARTS), do helm lint | ||
$(foreach chart,$(HELM_CHARTS),helm lint charts/$(chart);) | ||
$(foreach chart,$(INCUBATING_HELM_CHARTS),helm lint incubating/charts/$(chart);) | ||
#$(foreach chart,$(INCUBATING_HELM_CHARTS),helm lint incubating/charts/$(chart);) | ||
|
||
sync-crds: | ||
./scripts/sync-crds.sh incubating/charts/risingwave-operator/templates/crds | ||
./scripts/sync-crds.sh charts/risingwave-operator/crds |
File renamed without changes.
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,175 @@ | ||
{{/* | ||
Copyright RisingWave Labs. | ||
SPDX-License-Identifier: APACHE-2.0 | ||
*/}} | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: {{ include "risingwave-operator.fullname" . }} | ||
labels: | ||
{{- include "risingwave-operator.labels" . | nindent 4 }} | ||
{{- $annotations := (include "risingwave-operator.annotations" . ) | trim }} | ||
{{- if $annotations }} | ||
annotations: | ||
{{ nindent 4 $annotations }} | ||
{{- end }} | ||
{{- with .Values.serviceAccount.annotations }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
rules: | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- events | ||
verbs: | ||
- create | ||
- patch | ||
- apiGroups: | ||
- apiextensions.k8s.io | ||
resources: | ||
- customresourcedefinitions | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- apps | ||
resources: | ||
- deployments | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- apps | ||
resources: | ||
- statefulsets | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- apps.kruise.io | ||
resources: | ||
- clonesets | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- apps.kruise.io | ||
resources: | ||
- statefulsets | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- configmaps | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- pods | ||
verbs: | ||
- create | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- services | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- update | ||
- watch | ||
- apiGroups: | ||
- monitoring.coreos.com | ||
resources: | ||
- servicemonitors | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- risingwave.risingwavelabs.com | ||
resources: | ||
- risingwaves | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- risingwave.risingwavelabs.com | ||
resources: | ||
- risingwaves/finalizers | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- risingwave.risingwavelabs.com | ||
resources: | ||
- risingwaves/status | ||
verbs: | ||
- get | ||
- patch | ||
- update | ||
- apiGroups: | ||
- risingwave.risingwavelabs.com | ||
resources: | ||
- risingwavescaleviews | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- risingwave.risingwavelabs.com | ||
resources: | ||
- risingwavescaleviews/status | ||
verbs: | ||
- get | ||
- patch | ||
- update |
27 changes: 27 additions & 0 deletions
27
charts/risingwave-operator/templates/clusterrolebinding.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,27 @@ | ||
{{/* | ||
Copyright RisingWave Labs. | ||
SPDX-License-Identifier: APACHE-2.0 | ||
*/}} | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ include "risingwave-operator.fullname" . }} | ||
labels: | ||
{{- include "risingwave-operator.labels" . | nindent 4 }} | ||
{{- $annotations := (include "risingwave-operator.annotations" . ) | trim }} | ||
{{- if $annotations }} | ||
annotations: | ||
{{ nindent 4 $annotations }} | ||
{{- end }} | ||
{{- with .Values.serviceAccount.annotations }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: {{ include "risingwave-operator.fullname" . }} | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ include "risingwave-operator.serviceAccountName" . }} | ||
namespace: {{ .Release.Namespace }} |
Oops, something went wrong.