Skip to content

Commit

Permalink
Merge pull request #7 from CentML/ft/refresher-warn-logs
Browse files Browse the repository at this point in the history
Add logger to refresher Warn Loggers, update chart and image versions
  • Loading branch information
c-fteixeira authored Nov 19, 2024
2 parents 551071c + 099b07c commit 4cfbd46
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/ecr-anywhere/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.2
version: 1.0.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.0.0"
appVersion: "1.0.1"
2 changes: 1 addition & 1 deletion charts/ecr-anywhere/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ mutatingWebhookConfiguration:

image:
repository: ghcr.io/centml/ecr-anywhere
tag: v1.0.0
tag: v1.0.1
imagePullPolicy: Always

cronjob:
Expand Down
2 changes: 1 addition & 1 deletion cmd/refresher/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func main() {
log.Fatalf("Failed to create kubernetes clientset: %v", err)
}

loggers := loggers.NewLoggers(log.New(os.Stderr, "INFO: ", log.Ldate|log.Ltime|log.Lshortfile), nil, log.New(os.Stderr, "ERROR: ", log.Ldate|log.Ltime|log.Lshortfile))
loggers := loggers.NewLoggers(log.New(os.Stderr, "INFO: ", log.Ldate|log.Ltime|log.Lshortfile), log.New(os.Stderr, "WARN: ", log.Ldate|log.Ltime|log.Lshortfile), log.New(os.Stderr, "ERROR: ", log.Ldate|log.Ltime|log.Lshortfile))
r := credentials.NewK8sCredentialRefreshRequester(clientset, loggers)

// TODO stop hardcoding
Expand Down

0 comments on commit 4cfbd46

Please sign in to comment.