From b281fc31dfcdc5bb8bd93d31fdf7fd4d6910e1be Mon Sep 17 00:00:00 2001 From: trivernis Date: Wed, 15 Nov 2023 21:08:51 +0100 Subject: [PATCH] Remove domain from helmchart and container for now --- Containerfile | 2 -- chart/Chart.yaml | 2 +- chart/templates/deployment.yaml | 5 ----- chart/values.yaml | 4 ---- 4 files changed, 1 insertion(+), 12 deletions(-) diff --git a/Containerfile b/Containerfile index 8f9832d..8cbf990 100644 --- a/Containerfile +++ b/Containerfile @@ -17,6 +17,4 @@ RUN npm ci --omit dev COPY --from=builder /app/build /app EXPOSE 3000 -ENV ORIGIN="" - CMD ["node", "."] diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 5627bd6..8687a4e 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -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.1.0 +version: 0.1.1 # 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 diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index a1f64ce..e30e0c0 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -33,11 +33,6 @@ spec: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" imagePullPolicy: {{ .Values.image.pullPolicy }} - env: - {{- with .Values.plantwiki.domain }} - - name: HOST - value: "{{ .Values.plantwiki.domain }}" - {{- end }} ports: - name: http containerPort: {{ .Values.service.port }} diff --git a/chart/values.yaml b/chart/values.yaml index ebe81ae..eaeb157 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -10,10 +10,6 @@ image: # Overrides the image tag whose default is the chart appVersion. tag: "" -plantwiki: - # provide a domain that plantwiki is running on - domain: "" - imagePullSecrets: [] nameOverride: "" fullnameOverride: ""