| {{- /* |
| |
| # Copyright 2020-present Open Networking Foundation |
| # |
| # SPDX-License-Identifier: Apache-2.0 |
| # SPDX-License-Identifier: LicenseRef-ONF-Member-Only |
| |
| */ -}} |
| |
| --- |
| apiVersion: apps/v1 |
| kind: Deployment |
| metadata: |
| name: wowza |
| labels: |
| {{ tuple "wowza" . | include "phylo.metadata_labels" | indent 4 }} |
| spec: |
| replicas: {{ .Values.config.wowza.replica }} |
| selector: |
| matchLabels: |
| {{ tuple "wowza" . | include "phylo.metadata_labels" | indent 6 }} |
| template: |
| metadata: |
| labels: |
| {{ tuple "wowza" . | include "phylo.metadata_labels" | indent 8 }} |
| spec: |
| {{- if .Values.nodeSelectors.enabled }} |
| nodeSelector: |
| {{ .Values.nodeSelectors.wowza.label }}: {{ .Values.nodeSelectors.wowza.value }} |
| {{- end }} |
| containers: |
| - name: wowza |
| image: {{ .Values.images.tags.wowza }} |
| imagePullPolicy: {{ .Values.images.pullPolicy }} |
| {{- if .Values.resources.enabled }} |
| resources: |
| {{ toYaml .Values.resources.wowza | indent 10 }} |
| {{- end }} |
| volumeMounts: |
| - mountPath: /usr/local/WowzaStreamingEngine/data |
| name: wowza |
| volumes: |
| - name: wowza |
| emptyDir: {} |