Skip to content

Commit

Permalink
pref: remove-webcli
Browse files Browse the repository at this point in the history
  • Loading branch information
DokiDoki1103 committed Jun 14, 2024
1 parent f5133c3 commit a6bd1e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 51 deletions.
45 changes: 0 additions & 45 deletions templates/rbdcomponent_helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,52 +208,7 @@ items:
{{- end }}
imagePullPolicy: {{ .Values.Cluster.imagePullPolicy }}
priorityComponent: false
replicas: 1

- apiVersion: rainbond.io/v1alpha1
kind: RbdComponent
metadata:
labels:
belongTo: rainbond-operator
creator: Rainbond
name: rbd-webcli
name: rbd-webcli
namespace: {{ .Release.Namespace }}
spec:
{{- if .Values.Component.rbd_webcli.args }}
args:
{{- range .Values.Component.rbd_webcli.args }}
- {{ . | toString }}
{{- end }}
{{- end }}
{{- if .Values.Component.rbd_webcli.env }}
env:
{{- range $key,$value := .Values.Component.rbd_webcli.env }}
- name: {{ $key }}
value: "{{ $value }}"
{{- end }}
{{- end }}
{{- if .Values.Component.rbd_webcli.volumeMounts }}
volumeMounts:
{{ toYaml .Values.Component.rbd_webcli.volumeMounts | indent 4 }}
{{- end }}
{{- if .Values.Component.rbd_webcli.volumes }}
volumes:
{{ toYaml .Values.Component.rbd_webcli.volumes | indent 4 }}
{{- end }}
{{- if .Values.Component.rbd_webcli.image }}
image: {{ .Values.Component.rbd_webcli.image }}
{{- else }}
image: {{ .Values.Cluster.rainbondImageRepository }}/rbd-webcli:{{ .Values.Cluster.installVersion }}
{{- end }}
imagePullPolicy: {{ .Values.Cluster.imagePullPolicy }}
priorityComponent: false
{{- if .Values.Cluster.enableHA }}
replicas: {{ .Values.Cluster.replicas }}
{{ else }}
replicas: 1
{{- end }}


- apiVersion: rainbond.io/v1alpha1
kind: RbdComponent
Expand Down
9 changes: 3 additions & 6 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ rbac:
## Service account name and whether to create it
serviceAccount:
create: true
name: nb-operator
name: rainbond-operator

# Use K3s Containerd
useK3sContainerd: false

# rainbondOperator
operator:
name: nb-operator
name: rainbond-operator
# operator environment variable, ref: https://www.rainbond.com/docs/ops-guide/management/change-ports
# env:
# - name: API_PORT
Expand Down Expand Up @@ -166,10 +166,7 @@ Component:
# rbd-resource-proxy component configuration
rbd_resource_proxy:
args:

# rbd-webcli component configuration
rbd_webcli:
args:


# rbd-monitor component configuration
rbd_monitor:
Expand Down

0 comments on commit a6bd1e5

Please sign in to comment.