Skip to content

Commit

Permalink
fix deployment helm chart values
Browse files Browse the repository at this point in the history
  • Loading branch information
Ihor Savchenko committed Oct 20, 2022
1 parent 01d72d9 commit 7aaf6cc
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ jobs:
export CHART_FOLDER=apps/${{ matrix.app }}/deployment/app-chart
helm lint $CHART_FOLDER
helm --debug -n $EKS_NAMESPACE \
upgrade --install astro-stats-${{ matrix.app }} $CHART_FOLDER \
upgrade --install dao-stats-${{ matrix.app }} $CHART_FOLDER \
--set image.tag=${{ needs.get-environment.outputs.docker_env_tag }} \
--set ingress.host=$EKS_INGRESS_HOST
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ spec:
# failureThreshold: {{ .Values.container.readinessProbe.failureThreshold }}
envFrom:
- configMapRef:
name: {{ .Release.Name }}-aggregator-configmap
name: {{ .Release.Name }}-configmap
- configMapRef:
name: {{ .Release.Name }}-version
- secretRef:
name: astro-stats-rds-secrets
name: dao-stats-rds-secrets
- secretRef:
name: astro-stats-redis-secrets
name: dao-stats-redis-secrets
- secretRef:
name: astro-stats-service-secrets
name: dao-stats-service-secrets
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
2 changes: 1 addition & 1 deletion apps/aggregator/deployment/app-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: 570288326086.dkr.ecr.eu-central-1.amazonaws.com
repository: 570288326086.dkr.ecr.us-east-1.amazonaws.com
tag: latest
name: astro-dao-stats-aggregator
pullPolicy: Always
Expand Down
2 changes: 1 addition & 1 deletion apps/api/deployment/app-chart/templates/api-configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-api-configmap
name: {{ .Release.Name }}-configmap
data:
PORT: "3000"
NEST_APP_TYPE: api
Expand Down
6 changes: 3 additions & 3 deletions apps/api/deployment/app-chart/templates/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ spec:
failureThreshold: {{ .Values.container.readinessProbe.failureThreshold }}
envFrom:
- configMapRef:
name: {{ .Release.Name }}-api-configmap
name: {{ .Release.Name }}-configmap
- configMapRef:
name: {{ .Release.Name }}-version
- secretRef:
name: astro-stats-rds-secrets
name: dao-stats-rds-secrets
- secretRef:
name: astro-stats-redis-secrets
name: dao-stats-redis-secrets
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
2 changes: 1 addition & 1 deletion apps/api/deployment/app-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: 570288326086.dkr.ecr.eu-central-1.amazonaws.com
repository: 570288326086.dkr.ecr.us-east-1.amazonaws.com
tag: latest
name: astro-dao-stats-api
pullPolicy: Always
Expand Down

0 comments on commit 7aaf6cc

Please sign in to comment.