Files
tcb_devportal/manifest/helm/templates/deployment.yaml
duynguyen c90a36a54f
Some checks failed
homelab-k8s-services/tcb_devportal/pipeline/head There was a failure building this commit
feat: initial commit — tcb_devportal Next.js app
Includes Helm chart (tcb-devportal), Jenkinsfile with homelab CI pipeline,
and Next.js app source.
2026-05-10 14:49:10 +07:00

24 lines
583 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Chart.Name }}
namespace: {{ .Release.Namespace }}
labels:
app: {{ .Chart.Name }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ .Chart.Name }}
template:
metadata:
labels:
app: {{ .Chart.Name }}
spec:
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.service.targetPort }}