Skip to content

Commit

Permalink
Fix helm (#5)
Browse files Browse the repository at this point in the history
 - fix chart files
  • Loading branch information
zakharenkodmytro authored Jan 27, 2025
1 parent 9ace6fc commit 280b458
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
14 changes: 14 additions & 0 deletions charts/templates/secret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: {{ include "compass-poc.fullname" . }}-secret
namespace: {{ .Release.Namespace }}
spec:
data:
secretStoreRef:
kind: ClusterSecretStore
name: aws-secretsmanager-secret-store
target:
name: {{ include "compass-poc.fullname" . }}-secret
template:
metadata: {}
5 changes: 3 additions & 2 deletions cmd/stream/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (cw *compassWrapper) startStream(vins []string) {
// Use the provided context
realtimeData, err := cw.client.RealtimeRawPointByVins(timeoutCtx, &v1.RealtimeRawPointByVinsRequest{
Vins: vins,
MaxStalenessMinutes: 7,
MaxStalenessMinutes: 5,
})
if err != nil {
cw.logger.Error().Err(err).Msg("failed to get realtime data, retrying...")
Expand All @@ -111,7 +111,8 @@ func (cw *compassWrapper) startStream(vins []string) {
cw.logger.Info().Msg("Stream ended.")
break
}
cw.logger.Fatal().Err(err).Msg("Error receiving from stream, retrying...")

cw.logger.Err(err).Msg("Error receiving from stream, retrying...")
break
}

Expand Down

0 comments on commit 280b458

Please sign in to comment.