Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zubenkoivan committed Aug 8, 2024
1 parent 7c842e9 commit 21c2081
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions charts/platform-storage/templates/metrics-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ spec:
{{- toYaml . | nindent 10 }}
{{- end }}
env:
- name: SERVER_PORT
value: {{ .Values.metrics.service.port | quote }}
{{- include "platformStorage.env.aws" . | nindent 10 }}
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down
1 change: 1 addition & 0 deletions charts/platform-storage/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ keepAliveTimeout: 900
platform:
clusterName: default
authUrl: http://platform-auth:8080
adminUrl: http://platform-admin:8080
token:
valueFrom:
secretKeyRef:
Expand Down
2 changes: 1 addition & 1 deletion charts/platform-storage/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ metrics:
memory: "200Mi"

service:
port: 9000
port: 8080

serviceMonitor:
enabled: true
1 change: 1 addition & 0 deletions platform_storage_api/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ def create_platform(self) -> PlatformConfig:
def create_aws(self) -> AWSConfig:
return AWSConfig(
region=self._environ["AWS_REGION"],
s3_endpoint_url=self._environ.get("AWS_S3_ENDPOINT"),
metrics_s3_bucket_name=self._environ["AWS_METRICS_S3_BUCKET_NAME"],
)

Expand Down

0 comments on commit 21c2081

Please sign in to comment.