diff --git a/k8chart/templates/oxo2-deployment.yaml b/k8chart/templates/oxo2-deployment.yaml index faf506b..9162185 100644 --- a/k8chart/templates/oxo2-deployment.yaml +++ b/k8chart/templates/oxo2-deployment.yaml @@ -1,18 +1,18 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: { { .Values.name } } + name: {{.Values.name}} labels: - app: { { .Values.name } } + app: {{.Values.name}} spec: replicas: 1 selector: matchLabels: - app: { { .Values.name } } + app: {{.Values.name}} template: metadata: labels: - app: { { .Values.name } } + app: {{.Values.name}} spec: containers: - name: web @@ -30,5 +30,5 @@ spec: env: - name: PUBLIC_URL value: /spot/oxo2 - env_file: { { .Values.envFile } } + env_file: {{.Values.envFile}} command: ["/bin/bash", "-c"] diff --git a/k8chart/templates/oxo2-service.yaml b/k8chart/templates/oxo2-service.yaml index 4838bc4..1b0f1b9 100644 --- a/k8chart/templates/oxo2-service.yaml +++ b/k8chart/templates/oxo2-service.yaml @@ -1,13 +1,13 @@ apiVersion: v1 kind: Service metadata: - name: { { .Values.name } } + name: {{.Values.name}} labels: - app: { { .Values.name } } + app: {{.Values.name}} spec: type: NodePort ports: - name: "application" port: 8080 selector: - app: { { .Values.name } } + app: {{.Values.name}} diff --git a/k8chart/values.yaml b/k8chart/values.yaml index 121f47a..40bf9e8 100644 --- a/k8chart/values.yaml +++ b/k8chart/values.yaml @@ -1,2 +1,3 @@ name: oxo2 -envFile: ./.env \ No newline at end of file +envFile: ./.env +imageTag: dev \ No newline at end of file