Skip to content

Commit

Permalink
Merge pull request #33 from media-streaming-mesh/camera_service_name_…
Browse files Browse the repository at this point in the history
…update

Update: the Camera Deployment Name is updated to match with AppName.
  • Loading branch information
Giles Heron committed Jun 26, 2023
2 parents a3715df + e5f7003 commit aaebbf7
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 31 deletions.
2 changes: 1 addition & 1 deletion deployments/camera/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: camera
description: A Helm chart to deploy a camera on MSM
version: 0.2.4
version: 0.2.5
2 changes: 1 addition & 1 deletion deployments/camera/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# camera

![version: 0.2.4](https://img.shields.io/badge/version-0.2.4-informational?style=flat-square) [![artifact hub](https://img.shields.io/badge/artifact%20hub-camera-informational?style=flat-square)](https://artifacthub.io/packages/helm/media-streaming-mesh/camera)
![version: 0.2.5](https://img.shields.io/badge/version-0.2.5-informational?style=flat-square) [![artifact hub](https://img.shields.io/badge/artifact%20hub-camera-informational?style=flat-square)](https://artifacthub.io/packages/helm/media-streaming-mesh/camera)

A Helm chart to deploy a camera on MSM

Expand Down
2 changes: 1 addition & 1 deletion deployments/camera/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: msm-live
name: {{ .Values.config.appName }}
labels:
{{- include "Camera.labels" . | nindent 4 }}
app: {{ .Values.config.appName }}
Expand Down
2 changes: 1 addition & 1 deletion deployments/rtsp/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.0.13
version: 0.0.14

# 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
2 changes: 1 addition & 1 deletion deployments/rtsp/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# rtsp

![version: 0.0.13](https://img.shields.io/badge/version-0.0.13-informational?style=flat-square) ![type: application](https://img.shields.io/badge/type-application-informational?style=flat-square) ![app version: 1.16.0](https://img.shields.io/badge/app%20version-1.16.0-informational?style=flat-square) [![artifact hub](https://img.shields.io/badge/artifact%20hub-rtsp-informational?style=flat-square)](https://artifacthub.io/packages/helm/media-streaming-mesh/rtsp)
![version: 0.0.14](https://img.shields.io/badge/version-0.0.14-informational?style=flat-square) ![type: application](https://img.shields.io/badge/type-application-informational?style=flat-square) ![app version: 1.16.0](https://img.shields.io/badge/app%20version-1.16.0-informational?style=flat-square) [![artifact hub](https://img.shields.io/badge/artifact%20hub-rtsp-informational?style=flat-square)](https://artifacthub.io/packages/helm/media-streaming-mesh/rtsp)

A Helm chart for RSTP Server and (Internal) Client

Expand Down
26 changes: 1 addition & 25 deletions deployments/rtsp/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,35 +24,11 @@ spec:
image: "{{ .Values.clientImage.name }}:{{ .Values.clientImage.tag }}"
imagePullPolicy: IfNotPresent
command: ["ffmpeg"]
args: ["-re", "-stream_loop", "-1", "-i", "/tmp/video.mp4", "-an", "-c:v", "copy", "-f", "rtsp", "rtsp://0.0.0.0:554/mystream"]
args: ["-re", "-stream_loop", "-1", "-i", "/tmp/coding.mp4", "-an", "-c:v", "copy", "-f", "rtsp", "rtsp://0.0.0.0:554/mystream"]
volumeMounts:
- mountPath: /tmp
name: movies
volumes:
- name: movies
hostPath:
path: /tmp
---
# rtsp-client
apiVersion: apps/v1
kind: Deployment
metadata:
name: rtsp-client
labels:
app: client
{{- include "MSM-RTSP.labels" . | nindent 4 }}
spec:
replicas: 2
selector:
matchLabels:
app: client
template:
metadata:
labels:
app: client
sidecar.mediastreamingmesh.io/inject: "true"
spec:
containers:
- name: rtsp-client
image: "{{ .Values.clientImage.name }}:{{ .Values.clientImage.tag }}"
imagePullPolicy: IfNotPresent
1 change: 0 additions & 1 deletion deployments/rtsp/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ metadata:
{{- include "MSM-RTSP.labels" . | nindent 4 }}
spec:
type: ClusterIP
clusterIP: 10.96.10.1
ports:
- name: rtsp
port: 554
Expand Down

0 comments on commit aaebbf7

Please sign in to comment.