Skip to content

Commit

Permalink
[PHEE-648] Fix AWS s3 status code 404 issue. (#421)
Browse files Browse the repository at this point in the history
* [PHEE-648] Fix AWS s3 status code 404 issue.

* added minio_public_host
  • Loading branch information
logoutdhaval authored Apr 11, 2024
1 parent 87e0b8f commit da50c11
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
23 changes: 22 additions & 1 deletion helm/ph-ee-engine/operations-app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,31 @@ spec:
value: "{{ .Values.datasource.schema }}"
- name: "SPRING_PROFILES_ACTIVE"
value: "{{ .Values.global.SPRING_PROFILES_ACTIVE }}"
- name: "CLOUD_AWS_MINIO_PUBLIC_HOST"
value: "{{ .Values.minio_public_host}}"
- name: "TOKEN_CLIENT_CHANNEL_SECRET"
value: "{{ .Values.token_client_channel_secret }}"
- name: "TENANTS"
value: "{{ .Values.global.tenants }}"
- name: "AWS_ACCESS_KEY"
valueFrom:
secretKeyRef:
name: bulk-processor-secret
key: aws-access-key
- name: "AWS_SECRET_KEY"
valueFrom:
secretKeyRef:
name: bulk-processor-secret
key: aws-secret-key
- name: "CLOUD_AWS_REGION"
valueFrom:
secretKeyRef:
name: "bulk-processor-secret"
key: "aws-region"
- name: "CLOUD_AWS_S3BASEURL"
value: {{.Values.global.s3BaseUrl}}
- name: "APPLICATION_BUCKET_NAME"
value: "{{ .Values.global.bucket_name }}"
- name: "LOGGING_LEVEL_ROOT"
value: "{{ .Values.global.LOGGING_LEVEL_ROOT }}"
- name: "LOGGING_PATTERN_CONSOLE"
Expand All @@ -85,4 +106,4 @@ spec:
- name: ph-ee-config
configMap:
name: ph-ee-config
{{- end }}
{{- end }}
3 changes: 2 additions & 1 deletion helm/ph-ee-engine/operations-app/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ ingress:
# - secretName: sandbox-secret
# hosts:
# - chart-example.local
minio_public_host: ""
deployment:
apiVersion: "apps/v1"
annotations:
deployTime: "{{ .Values.deployTime }}"
deployTime: "{{ .Values.deployTime }}"

0 comments on commit da50c11

Please sign in to comment.