Skip to content

Commit

Permalink
changed token for the previus one, changed the deploy line to point t…
Browse files Browse the repository at this point in the history
…o the ssm in aws and changed values to recieve all the information
  • Loading branch information
claudiomansillab committed Oct 30, 2024
1 parent 3c817bc commit 11bc633
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
with:
version: "latest"
verb: call
args: publish-helm-charts --rootDir=.. --username=${{github.actor}} --password=${{secrets.TAP_TOKEN}}
args: publish-helm-charts --rootDir=.. --username=${{github.actor}} --password=${{github.token}}
workdir: ./ci
2 changes: 1 addition & 1 deletion tapservicego/dagger/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (m *Tapservicego) helmValuesFile(container *dagger.Container) *dagger.Conta
sourcePrefix := strings.Split(*m.HelmValuesSource, ":")[0]
switch sourcePrefix {
case "ssm":
parameterName := strings.TrimPrefix(*m.HelmValuesSource, "ssm:")
parameterName := strings.TrimPrefix(*m.HelmValuesSource, "tapservice-values-staging")
value, err := getSsmValue(parameterName)
if err != nil {
log.Fatalf("Error getting SSM parameter: %v", err)
Expand Down
8 changes: 3 additions & 5 deletions tapservicego/deployments/tapservice/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
replicaCount: 1

image:
repository: "ghcr.io/alercebroker/lightcurve"
repository: ""
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand Down Expand Up @@ -51,7 +51,7 @@ ingress:
# Host should be the CNAME in Route53 that points to the ALB
- host: api.staging.alerce.online
paths:
- path: /
- path: ""
pathType: Prefix
tls: []
# - secretName: chart-example-tls
Expand Down Expand Up @@ -103,6 +103,4 @@ affinity: {}

secret:
name: "container-secrets"
databaseUrl: ""

namespace: ""
databaseUrl: ""

0 comments on commit 11bc633

Please sign in to comment.