Commit Graph

490 Commits

Author SHA1 Message Date
Ciprian Hacman 0d5f46e618 Fix the latest Ubuntu images 2023-03-09 09:05:47 +02:00
Ciprian Hacman 4705ba14a0 Update channels with the latest Kubernetes versions 2023-03-09 06:35:44 +02:00
Ciprian Hacman 2cab91e800 Update channels with the latest Ubuntu images 2023-03-09 06:34:32 +02:00
Ole Markus With 74a6a5a319 Always try to prune an addon even if applying updates fail 2023-03-04 07:18:53 +01:00
Moshe Shitrit 752be0600b bump alpha to stable 2023-01-28 11:45:22 -05:00
Moshe Shitrit 05447846ed revert indentation change 2023-01-24 15:42:06 -05:00
Moshe Shitrit a39a702574 bump k8s versions and ubuntu ami version in alpha 2023-01-24 12:21:51 -05:00
justinsb 817c1e63b3 FindKeyset can return nil
We had missed a case in nodeup; add a Context argument to force us to
revisit the codepaths.
2022-12-24 16:12:21 -05:00
Ole Markus With 43be10020c Use enums for needsRollingUpdate in the channels API 2022-12-20 22:11:56 +01:00
Ciprian Hacman 8ef8e40c6e Promote alpha channel to stable 2022-12-09 15:42:12 +02:00
Ciprian Hacman b653ce4730 Bump kOps versions in alpha and stable channels 2022-12-09 07:31:19 +02:00
Ciprian Hacman 396769cf3d Bump k8s 1.22 version in alpha 2022-12-09 07:29:12 +02:00
Moshe Vayner edb0812908
bump k8s versions and ubuntu ami version in alpha channel 2022-12-08 15:22:39 -05:00
Ole Markus With 27e206a264 Expose channels through kops toolbox cli
Make the channels apply commmand a bit more clear

Update cmd/kops/toolbox_addons.go

Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>

Update cmd/kops/toolbox_addons.go

Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>

fix docs
2022-12-04 15:47:09 +01:00
Ciprian Hacman 8f79c9bd68 Replace fi.Bool/Float*/Int*/String() with fi.PtrTo() 2022-11-19 03:45:22 +02:00
Ciprian Hacman 8bae6835ad Promote alpha channel to stable 2022-11-12 10:14:43 +02:00
Ciprian Hacman 749614a2bd Update channels with the latest Ubuntu images for CGP and Azure 2022-11-12 10:14:35 +02:00
Kubernetes Prow Robot 29510977de
Merge pull request #14525 from MoShitrit/alpha-to-stable-2022-11-10
Promote Ubuntu Version from Alpha to Stable
2022-11-10 12:02:17 -08:00
Moshe Shitrit 6324f4df3f bump k8s patch versions in alpha for November releases 2022-11-10 12:59:35 -05:00
Moshe Shitrit 360b298092 promote ubuntu version from alpha to stable 2022-11-10 12:52:28 -05:00
Ole Markus With 67ed7988f5 Bump alpha and stable channel with the latest kops and k8s releases
And alpha channel with latest AMI
2022-10-19 10:20:46 +02:00
Moshe Shitrit 3f4e18994a bump k8s and ubuntu ami version in alpha 2022-10-15 14:08:05 -04:00
Ole Markus With 392ececda7 Let kOps take ownership of any field currently owned by kubectl 2022-10-01 08:58:26 +02:00
Ciprian Hacman e854b261c5 Update channels with the latest Ubuntu images 2022-09-28 11:31:07 +03:00
Ciprian Hacman 89afe649ac Update channels with the latest Ubuntu images 2022-09-28 08:39:03 +03:00
Eric Bailey 51f4654303 Promote fixed k8s patch versions 2022-09-21 13:13:58 -05:00
Ciprian Hacman 1d68d3335d Add release 1.25.0 to channels 2022-09-19 14:00:36 +03:00
Ole Markus With 64ce77fc43 Bump stable and alpha channels with latest k8s/kops releases 2022-09-17 11:49:21 +02:00
Moshe Shitrit a1ebffc779 bump k8s versions in alpha with September releases 2022-09-15 11:54:51 -04:00
Moshe Shitrit 152e09b467 set recommended kOps version to 1.23.4 in k8s version 1.18 2022-09-10 13:38:02 -04:00
Moshe Shitrit 3f0d2758f1 recommend latest kops version in stable channel 2022-09-09 11:39:27 -04:00
Moshe Shitrit 5f6918d5b2 recommend latest kops version in alpha 2022-09-09 11:38:44 -04:00
Moshe Shitrit 8ca33a79b0 promote alpha to stable 2022-08-28 20:35:00 -04:00
Moshe Shitrit 055f1a4d27 bump aws ubuntu version in alpha 2022-08-20 12:11:41 -04:00
Moshe Shitrit 5d775f9532 bump k8s versions in alpha 2022-08-20 12:11:16 -04:00
Justin SB 6184f12861 Introduce applylib
A number of projects need a library for applying objects.  While we
are figuring out exactly what functionality is needed, we are using a
copy-and-paste approach.

Introduce applylib here also, and add the create-or-update
functionality that we want here.
2022-08-17 08:10:20 -04:00
Kubernetes Prow Robot 7035526204
Merge pull request #14135 from hakman/go-1.19.0
Update Go to v1.19.0
2022-08-17 02:40:55 -07:00
Ciprian Hacman cb99db0757 Run make goimports 2022-08-17 07:03:33 +03:00
Ole Markus With 381ceb1d14 Revert back to using kubectl in channels
Introduces an Applier interface and keeps the custom client based implementation
2022-08-14 13:06:17 +02:00
Peter Rifel 3eb30853f7
Fix typo in channels error message 2022-08-02 17:21:08 -05:00
Ole Markus With 70181ec3b3 Remove --files flag from channels and make single arg mandatory 2022-08-02 20:27:36 +02:00
Kubernetes Prow Robot 8ec65a2ab6
Merge pull request #14075 from olemarkus/merge-factory
Merge cmd factories
2022-07-30 22:18:27 -07:00
Ole Markus With 0bd3160bbc Merge channels and kops cli factories 2022-07-31 06:32:57 +02:00
Ole Markus With 820bba41cf Use SSA for updating addon channel objects 2022-07-30 11:21:09 +02:00
Moshe Shitrit 4f58bf6c7f promote alpha k8s versions to stable 2022-07-24 23:58:45 -04:00
Kubernetes Prow Robot eedb906f0b
Merge pull request #13963 from justinsb/follow_up_13753
Applier should be more tolerant of errors
2022-07-21 06:57:57 -07:00
Moshe Shitrit ff3519721a
bump alpha channel k8s releases 2022-07-14 15:32:40 -04:00
Justin SB bb1070269a Applier should be more tolerant of errors
We also aim to be a little stricter about invalid input
(e.g. namespace specified for cluster-scoped objects).
2022-07-11 11:09:29 -04:00
Ciprian Hacman 6829e7a69a Add release 1.24.0 to channels 2022-07-09 08:36:25 +03:00
Ole Markus With 389d7c1214 Set UserAgent to kops on the REST config 2022-07-02 16:13:30 +02:00
Ole Markus With cb96d39804 Use dynamic client for applying channels manifest rather than calling kubectl 2022-07-02 16:13:27 +02:00
Ole Markus With ba67287540 Apply PKI even if addon fails 2022-06-29 08:12:56 +02:00
Kubernetes Prow Robot e992530d6d
Merge pull request #13819 from olemarkus/channels-replace-non-force
Replace manifests after apply
2022-06-25 09:36:57 -07:00
Moshe Shitrit ebd1a310c8 promote alpha to stable 2022-06-25 01:19:21 -04:00
Ole Markus With 699653d00b Replace manifests after apply 2022-06-21 13:57:33 +02:00
Moshe Shitrit 13fcc26c6b recommend latest kops version in stable channel 2022-06-17 16:10:42 -04:00
Moshe Shitrit a5fbc3d268 recommend latest kops version and add kops 1.24 in alpha channel 2022-06-17 16:10:21 -04:00
Moshe Shitrit 4e49fafe92 bump k8s versions and ubuntu ami (aws) in alpha channel 2022-06-17 01:20:43 -04:00
Ciprian Hacman 6a24dc2dbc Revert "Use kubectl replace instead of apply when updating addons"
This reverts commit 18c5d184e7.
2022-06-10 07:19:58 +03:00
Ole Markus With db5cee1320 Channels to have exit status 1 on apply failure 2022-06-08 10:32:01 +02:00
Kubernetes Prow Robot dfe504e238
Merge pull request #13731 from olemarkus/channels-replace
Use kubectl replace instead of apply when updating addons
2022-06-04 06:08:21 -07:00
Ole Markus With 18c5d184e7 Use kubectl replace instead of apply when updating addons 2022-06-04 12:12:00 +02:00
Moshe Shitrit a413f49fb9 promote alpha to stable (k8s releases) 2022-06-01 13:59:55 -04:00
Moshe Shitrit 9fd92171e0 bump k8s versions with May releases 2022-05-25 22:25:36 -04:00
Ole Markus With 5c2f33d148 Promote May AMIs in channels
Already been running for some time in e2e
2022-05-17 07:46:30 +02:00
Moshe Shitrit daca2a6b2e promote alpha to stable 2022-05-01 17:32:12 -04:00
Ole Markus With 7006f10a15 Bump alpha channel with april releases 2022-04-25 10:34:41 +02:00
Kubernetes Prow Robot 6d264080ed
Merge pull request #13484 from olemarkus/no-bazel-targets
Remove bazel targets and tools
2022-04-17 23:16:41 -07:00
Ole Markus With ce2e877aeb Remove bazel files from vendor 2022-04-12 13:29:03 +02:00
Ole Markus With 8d4a6c35a9 Bump Ubuntu AMIs in alpha and stable 2022-04-12 08:12:25 +02:00
Ole Markus With 5f6b480f81 Update cert-manager dependency to 1.8.0 2022-04-10 12:39:47 +02:00
Moshe Shitrit 8b8ab3fc89 promote alpha to stable 2022-03-25 10:56:09 -04:00
Ciprian Hacman 82575310e0 Bump k8s versions in alpha with Mar 2022
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-17 11:55:26 +02:00
Ciprian Hacman ae3f9071a3 Promote alpha channel to stable
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-17 11:55:26 +02:00
Ciprian Hacman 30f57e7710 Update kubernetes versions in stable channel
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-11 07:38:36 +02:00
Ciprian Hacman e8bdad883e Recommend kOps 1.23 to alpha channel
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-11 07:38:06 +02:00
Ciprian Hacman 2d540eaf75 Add kOps 1.23 to stable channel
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-11 07:36:56 +02:00
Ciprian Hacman 4e90d51e74 Bump Ubuntu AMIs
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-03-11 07:35:12 +02:00
Ole Markus With 9065042923 Promote alpha k8s versions to stable 2022-03-05 12:47:07 +01:00
Ole Markus With e0fbdd6ad1 Bump ami in alpha channel to 20220302 2022-03-05 12:47:07 +01:00
Justin SB e07b588b1f alpha channel: recommend kOps 1.22.4
Includes fixes for etcd 3.5.0 vs 3.5.1
2022-02-21 09:08:06 -05:00
Moshe Shitrit ebf5856cb0 Bump k8s versions in alpha with Feb 2022 releases 2022-02-17 08:33:51 -08:00
Moshe Shitrit 3c6c60c6ed Promote alpha to stable 2022-02-08 21:56:36 -05:00
Jesse Haka d591ee9c80 update GCE default images 2022-02-02 13:57:50 +02:00
Ole Markus With 3fe5551dee Bump Ubuntu AMI in alpha 2022-02-01 20:33:41 +01:00
Kubernetes Prow Robot 572bf9a3cf
Merge pull request #13153 from olemarkus/channels-january-2
Bump 1.23 version in alpha channel
2022-01-26 00:00:26 -08:00
Ole Markus With c8c8228a51 Bump 1.23 version in alpha channel 2022-01-26 07:44:06 +01:00
Eric Bailey 4033d83adc Promote alpha AMIs to stable
https://ubuntu.com/security/CVE-2022-0185
2022-01-26 00:23:03 -06:00
Ole Markus With 92ea76d73b Fix recommended kops versions in channels 2022-01-20 20:06:36 +01:00
Ole Markus With b1a1d7d50b January bump of channels 2022-01-20 08:05:02 +01:00
Ole Markus With e128cc7f5d Preload channel versions from namespaces
Avoids loading the NS multiple times per installed addon
2022-01-05 10:38:26 +01:00
justinsb 8e34e4d101 addons: support for kopeio-networking addon
Adding support for the kopeio-networking addon.

We load the operator manifest (which changes rarely) from the channels
directory for now.  We follow the same structure as operators
themselves use so that we can support other backends in future.

The channels file includes the current versions of the operators.

During cluster creation, we create these additional objects.
2021-12-29 09:16:15 -05:00
Ole Markus With 261e2f429d Promote alpha with December releases 2021-12-16 20:53:53 +01:00
John Gardiner Myers 9206201bef Add 1.23 entries to alpha channel 2021-12-11 15:11:29 -08:00
Ciprian Hacman ea7df00719 Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
Ciprian Hacman caea259dba Promote alpha channel to stable 2021-11-21 10:39:27 +02:00
Ciprian Hacman 351b39129a Update alpha channel with November releases 2021-11-21 06:12:18 +02:00
Ciprian Hacman 25b9773a2e Promote alpha channel to stable 2021-11-21 04:46:06 +02:00
Ciprian Hacman 752c3de504 Update Ubuntu images to latest version 2021-11-21 04:45:24 +02:00
Eng Zer Jun 425173ae9f
refactor: move from io/ioutil to io and os packages
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-12 15:37:18 +08:00