mirror of
https://github.com/LeNei/fullstack-helm-chart.git
synced 2026-02-13 22:56:19 +00:00
Fix chart
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: {{ .Values.nextjs.appName }} # Name of the deployment
|
||||
name: {{ .Values.frontend.appName }} # Name of the deployment
|
||||
labels:
|
||||
app: {{ .Values.nextjs.appName }} # Name of your application
|
||||
app: {{ .Values.frontend.appName }} # Name of your application
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: {{ .Values.nextjs.appName }} # Name of your application
|
||||
replicas: {{ .Values.nextjs.replicas }} # Number of replicas
|
||||
app: {{ .Values.frontend.appName }} # Name of your application
|
||||
replicas: 1 # Number of replicas
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ .Values.nextjs.appName }} # Name of your application
|
||||
app: {{ .Values.frontend.appName }} # Name of your application
|
||||
spec:
|
||||
containers:
|
||||
# Containers are the individual pieces of your application that you want
|
||||
# to run.
|
||||
- name: {{ .Values.nextjs.appName }} # Name of the container
|
||||
image: {{ .Values.nextjs.image }}
|
||||
ports:
|
||||
# Ports are the ports that your application uses.
|
||||
- containerPort: {{ .Values.nextjs.containerPort }} # The port that your application uses
|
||||
# Containers are the individual pieces of your application that you want
|
||||
# to run.
|
||||
- name: {{ .Values.frontend.appName }} # Name of the container
|
||||
image: {{ .Values.frontend.image }}
|
||||
ports:
|
||||
# Ports are the ports that your application uses.
|
||||
- containerPort: {{ .Values.frontend.containerPort }} # The port that your application uses
|
||||
imagePullSecrets:
|
||||
- name: docker-regcred
|
||||
|
||||
Reference in New Issue
Block a user