Files
OpenShell/deploy/helm/openshell/templates/deployment.yaml
Taylor Mutch 7dab612feb feat(helm): support Deployment kind in HA gateway workloads (#1867)
* feat(helm): support Deployment kind in HA gateway workloads

Signed-off-by: Taylor Mutch <taylormutch@gmail.com>

* fix(helm): handle null workload values

Signed-off-by: Taylor Mutch <taylormutch@gmail.com>

---------

Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
2026-06-10 23:52:07 +00:00

19 lines
626 B
YAML

# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
{{- include "openshell.validateValues" . }}
{{- if eq (include "openshell.workloadKind" .) "deployment" }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "openshell.fullname" . }}
labels:
{{- include "openshell.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
{{- include "openshell.selectorLabels" . | nindent 6 }}
template:
{{- include "openshell.gatewayPodTemplate" . | nindent 4 }}
{{- end }}