Skip to content

Commit

Permalink
feat(node): add broadcaster enabled flag
Browse files Browse the repository at this point in the history
  • Loading branch information
incubator4 committed Jan 18, 2024
1 parent 85c9abb commit 67661fc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/rss3-node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.3.2
version: 0.3.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 3 additions & 1 deletion charts/rss3-node/templates/broadcaster/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.broadcaster.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -25,7 +26,7 @@ spec:
{{- end }}
labels:
{{- include "rss3-node.labels" (dict "context" . "component" .Values.broadcaster.name "name" .Values.broadcaster.name) | nindent 8 }}
{{- with .Values.broadcaster.podLabels }}
{{- with .Values.broadcaster.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
Expand Down Expand Up @@ -72,3 +73,4 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions charts/rss3-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ hub:

## BroadCaster
broadcaster:
enabled: false
# -- RSS3 Node hub name
name: broadcaster

Expand Down

0 comments on commit 67661fc

Please sign in to comment.