Commit Graph

1442 Commits (00cb03d2a92109e76ae21e41b877b62a8bfefa28)

Author SHA1 Message Date
crafa 00cb03d2a9 update chart.yaml for fork 2024-04-16 10:41:38 +02:00
crafa dc7e392681 modifying chart for fork 2024-04-16 10:30:13 +02:00
crafa 980f5d4d2c Add Helm chart packages and index file 2024-04-16 10:27:07 +02:00
clem59170 3e261382bf
Update gcr.go
refactor indentation
2024-04-10 11:52:01 +02:00
crafa 0cad29f17b adding missing dependencies 2024-04-10 11:39:50 +02:00
crafa 0462d1607d Refactor GCR Credentials Handling to Support Workload Identity
This commit updates the GCR (Google Container Registry) credentials handling
in Keel's GCR extension to add support for Google Cloud's Workload Identity,
while maintaining compatibility with the existing authentication method via
the GOOGLE_APPLICATION_CREDENTIALS environment variable.

Changes include:
- Removed the `credentials` string field from the CredentialsHelper struct.
  Credentials are now determined dynamically based on the runtime environment.
- Added `readCredentialsFromFile()` and `getWorkloadIdentityTokenCredentials()`
  functions to abstract the credential reading and token obtaining processes.
- Updated `GetCredentials` method to try reading the GOOGLE_APPLICATION_CREDENTIALS
  file first, falling back to Workload Identity if necessary.
- Extended registry URL check in `GetCredentials` to support Google Container Registry (`gcr.io`) and
  Google Artifact Registry URLs (`pkg.dev`).
- Adding pubSub boolean check for activating pubSub.

These changes allow for the use of both JSON key files and Workload Identity
for GCP authentication when polling instead of using pubSub.
2024-04-10 11:15:02 +02:00
Karolis Rusenas 9f0a7160bb
Update Chart.yaml 2023-09-28 20:17:55 +01:00
Karolis Rusenas f4415cb5bb
Merge pull request #741 from bard/fix-update-github-webhook-handler
update github handler
2023-09-28 20:14:15 +01:00
Massimiliano Mirra 8834bb81eb fix: update test 2023-09-02 14:03:58 +01:00
Massimiliano Mirra 6c9f9a0093 fix: update test 2023-09-02 11:25:13 +01:00
Massimiliano Mirra 3b34dec0ce update github handler 2023-09-02 11:01:24 +01:00
Karolis Rusenas 3ecd57c5cb
Merge pull request #740 from keel-hq/bump_chart_0.19.1
bump chart to 0.19.1
2023-08-31 10:24:20 +01:00
Karolis Rusenas d0afbe482e
bump chart 2023-08-31 10:23:53 +01:00
Karolis Rusenas 220a46fda4
Merge pull request #738 from erickpeirson/master
Update Go to 1.20.5
2023-08-30 12:32:12 +01:00
Erick 49a7edfa76
Update Go to 1.20.5 2023-08-30 06:01:46 -04:00
Karolis Rusenas 1c6db11eb4
Merge pull request #736 from hotpheex/discord_notifications
Remove test logs from development
2023-08-11 17:03:02 +01:00
hotpheex a9c8ea8d06 Remove test logs 2023-08-10 16:45:07 -07:00
Karolis Rusenas da5cfa1003
Merge pull request #729 from blakebarnett/update_slack_bot_to_fix_approvals
Update to slack-go/slack v0.12.2
2023-08-09 10:25:52 +01:00
Karolis Rusenas bea3fb3511
Merge pull request #735 from hotpheex/discord_notifications
Discord notifications
2023-08-09 10:23:56 +01:00
Karolis Rusenas 6defcfcad8
Merge pull request #734 from joebowbeer/init-containers
feat: initContainers
2023-08-09 10:13:27 +01:00
Joe Bowbeer ee938a7b82 add unit tests 2023-08-09 03:46:49 +00:00
hotpheex 23bd0a1084 Update helm chart 2023-08-08 19:33:18 -07:00
hotpheex 52af7e9650 New notification sender for Discord webhooks 2023-08-08 19:31:15 -07:00
hotpheex 21c273a77b Add discord webhook sender 2023-08-06 08:38:02 +10:00
Joe Bowbeer 7ff089371b feat: initContainers 2023-08-01 05:13:33 -07:00
Blake Barnett e57f78d0dc Update to slack-go/slack v0.12.2
- Uses events rather than a select loop
- Removes the HTTP API usage
- Makes approvals work
- Still requires a legacy bot token
2023-06-27 16:25:32 -07:00
Karolis Rusenas f8dabdc080
Merge pull request #722 from keel-hq/feature/chart_update
bump release to 0.18.1
2023-04-21 11:52:21 +01:00
Karolis Rusenas 665090b15c
bump release 2023-04-21 11:40:49 +01:00
Karolis Rusenas a9c1a4c028
Merge pull request #721 from sjdaws/use-HEAD
Prefer HEAD over GET for manifest digest
2023-04-21 11:35:34 +01:00
Scott Dawson 5cd202fcef
Perform HEAD request, fall back to GET 2023-04-21 08:32:29 +10:00
Karolis Rusenas 70c1b892ae
Merge pull request #718 from sjdaws/test-additional-headers
Fix non-multiarch OCI images, reduce GET calls
2023-04-15 18:28:02 +01:00
Scott Dawson f966c0f245
Add manifest header for non-multiarch images, condense headers into single call 2023-04-15 14:31:48 +10:00
Karolis Rusenas 675529874c
Merge pull request #691 from PortableProgrammer/PortableProgrammer-595
DefaultUpdateTimeout is in `ns`, should be `s`
2023-04-11 23:09:35 +01:00
PortableProgrammer fb2bb892ea #595 - Import `time`
Hasty commit, forgot to import `time`
2023-04-11 16:00:43 -06:00
Nick Warner 5703f0444b
#595 - Use time.Duration instead of const ns
Rather than hard-code `300000000000`, use `5 * time.Minute` for readability.
2023-04-11 15:51:49 -06:00
Karolis Rusenas dd2d232edb
Merge pull request #709 from babs/allow_define_pollDefaultSchedule
Allow change of pollDefaultSchedule via POLL_DEFAULTSCHEDULE env var
2023-04-11 20:15:33 +01:00
Karolis Rusenas da098d8402
Merge pull request #717 from sjdaws/fix-oci-images
Add support for OCI images
2023-04-11 20:09:45 +01:00
Scott Dawson 1e76c363d1
Fix tag pagination 2023-04-11 16:33:34 +10:00
Scott Dawson ed45f87f35
Fix tag pagination 2023-04-11 16:32:48 +10:00
Scott Dawson bc5a4cbf0c
Fix grammar 2023-04-11 15:54:01 +10:00
Scott Dawson 2315aced1b
Add support for OCI images 2023-04-11 15:53:31 +10:00
Scott Dawson a58d5a638d
Update all depedencies, shift to kube v1.26.3 2023-04-11 11:51:15 +10:00
Damien Degois 2db63a3437 Allow change of pollDefaultSchedule via POLL_DEFAULTSCHEDULE env var
Also available on helm via polling.defaultSchedule
2023-03-07 03:30:27 +01:00
Karolis Rusenas 5bd875a9a1
chart version 2023-03-05 20:41:37 +00:00
Karolis Rusenas 1a81a58ea2
more readme cleanup 2023-03-05 20:35:01 +00:00
Karolis Rusenas c0674a6243
Merge pull request #708 from keel-hq/feature/cleanup
cleanup
2023-03-05 20:34:15 +00:00
Karolis Rusenas c1f299326a
Merge pull request #697 from blakebarnett/add_jfrog_webhook_support
Add support for JFrog container registry webhooks
2023-03-05 20:33:54 +00:00
Karolis Rusenas 5c87dee5ca
Merge pull request #653 from subshell/Allow-pkg.dev-repositories-to-make-gcr-subscriptions
Allow google cloud artifact registry repositories to make pub/sub subscriptions
2023-03-05 20:32:34 +00:00
Karolis Rusenas a6f6a9d946
cleanup 2023-03-05 20:26:11 +00:00
Karolis Rusenas f9e1cf9f2b
Merge pull request #692 from vorburger/patch-1
Fix broken link to Helm chart values YAML in deployment README
2023-03-05 20:11:05 +00:00