Commit Graph

144 Commits

Author SHA1 Message Date
Leïla MARABESE b120e3de45 added CCM and CSI manifests 2023-01-30 13:36:34 +01:00
justinsb 132a805972 Allow built-in manifests to be replaced by external addons
We identify the external manifests by checking for our labels.
Currently that label is kOps specific, and we'll likely have to evolve
that to something ecosystem-netural.

We only support the GCE CCM addon and the kopeio-networking addon at
first.

For the GCE CCM addon, we need to replace the arguments, in particular
we likely need the Pod CIDR.  Here we need to work with the GCE CCM to
find a mechanism that can allow some of these flags to be communicated
via a more extensible mechanism (env vars or config maps, likely,
though possibly CRDs).

This is all behind the ClusterAddons feature flag at the moment, so we
can figure this out with other projects safely.

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2023-01-05 20:29:56 -05:00
John Gardiner Myers 005ec38972 Remove code for no-longer-supported k8s 1.21 2022-12-24 21:44:50 -08:00
Ole Markus With 36b75b031d Use onDelete update strategy for node-local DNS cache 2022-12-20 22:12:51 +01:00
Ole Markus With 43be10020c Use enums for needsRollingUpdate in the channels API 2022-12-20 22:11:56 +01:00
Kubernetes Prow Robot bfabf3752a
Merge pull request #14824 from hakman/cert-manager-v1.10.1
Update cert-manager to v1.10.1
2022-12-20 09:09:44 -08:00
Ciprian Hacman c20892c26b Enable pruning of removed cert-manager objects 2022-12-20 13:29:50 +02:00
John Gardiner Myers 34d7507f78 v1alpha3: Move some GCE-specific fields to CloudProvider.GCE 2022-12-19 08:28:28 -08:00
John Gardiner Myers dec7d33be6 v1alpha3: Move AWS EBS CSI spec under CloudProvider.AWS 2022-12-19 00:10:16 -08:00
John Gardiner Myers ca7d82b02a v1alpha3: move AWS-specific fields to AWSSpec 2022-12-18 15:16:49 -08:00
John Gardiner Myers 7c3e32369a Refactor Context into separate cloudup and nodeup types 2022-12-17 17:42:46 -08:00
John Gardiner Myers 76f71512cc v1alpha3: fix miscellaneous capitalization 2022-11-28 21:37:21 -08:00
Ciprian Hacman d29812fc6e Replace fi.Bool/Float*/Int*/StringValue() with fi.ValueOf 2022-11-19 03:45:23 +02:00
Ciprian Hacman 8f79c9bd68 Replace fi.Bool/Float*/Int*/String() with fi.PtrTo() 2022-11-19 03:45:22 +02:00
Ole Markus With 104ee74d63 Fix disabling StorageClass management
Previously this was done in the manifests leading to empty files. kubectl doesn't like this, so protokube will always fail updating the addon when StorageClass management is disabled
2022-11-18 09:55:02 +01:00
Ciprian Hacman 4e5ded6dc3 hetzner: Create cluster without DNS or Gossip 2022-10-27 11:29:37 +03:00
Ciprian Hacman dc98c74428 Move Gossip check to cluster struct 2022-10-21 09:48:07 +03:00
Ole Markus With e5d33401dc Remove k8s GTE 1.20 checks as it is always true 2022-09-17 20:17:23 +02:00
Kubernetes Prow Robot d4b72f394a
Merge pull request #14229 from olemarkus/cert-manager-hostedzones
Allow cert-manager the privileges needed to resolve dns-01 challenges
2022-09-06 00:24:56 -07:00
Kubernetes Prow Robot 75f541172d
Merge pull request #14226 from hakman/flannel-0.19.2
Update Flannel to v0.19.2
2022-09-05 12:17:01 -07:00
Ole Markus With 6548ca6ca7 Don't add add IAM vars to manifest if service account is not being created
In the case IRSA is optional for an addon, we shouldn't unconditinally add the IRSA bits to the manifest.
This is also a clean up. We no longer need to expand the list of well-known SAs as we already know which roles are being built
2022-09-04 08:28:32 +02:00
Ole Markus With 3518182e44 Add support for cert-manager dns-01 challenges 2022-09-04 08:19:22 +02:00
Ciprian Hacman c4decc2d11 Update Flannel to v0.19.2 2022-09-03 12:18:08 +03:00
Ciprian Hacman 083947b7fe Update Canal to v3.24.1 2022-09-03 10:58:07 +03:00
Ciprian Hacman 6a5ba584c5 Update Calico to v3.24.1 2022-09-03 10:58:06 +03:00
torredil 230ff7eb57 Allow self-managed aws-ebs-csi-driver
Signed-off-by: torredil <torredil@amazon.com>
2022-08-24 18:40:27 +00:00
justinsb a1ada5cd24 kube-scheduler: skip well-known additional objects
Not all additional objects are meant to be applied to the cluster; a
few are configured through a file path.  We explicitly handle those
and don't write them to the file where they should be applied.
2022-08-03 09:51:16 -04:00
Ciprian Hacman 7fbe0454f2 Use Calico v3.23 for Kubernetes 1.22+ 2022-06-29 17:17:33 +03:00
Ciprian Hacman 5759d70039 Disable removal or CCM leader migration 2022-06-13 19:56:53 +02:00
Ciprian Hacman 113377cdd2 Completely remove core addons 2022-06-10 14:03:16 +03:00
Ciprian Hacman 0da238b175 Remove legacy cloud-controller-manager for OpenStack 2022-06-10 11:14:43 +03:00
Ole Markus With f7e8f3122a Remove LBC for 1.19 2022-06-07 15:52:32 +02:00
Ole Markus With 4ea0fe89e1 Always use coreDNS by default 2022-06-07 15:50:35 +02:00
Ciprian Hacman 275c92e13a Add CSI driver for Hetzner 2022-06-04 11:19:17 +02:00
Ciprian Hacman 3dba71b92d Use Calico v3.21 with older versions of k8s 2022-05-14 10:17:17 +03:00
srikiz 53af129f41 add do csi driver 2022-05-13 00:50:36 +05:30
Kubernetes Prow Robot 6377b68811
Merge pull request #13572 from hakman/hetzner
Add initial support for Hetzner Cloud
2022-05-08 20:57:18 -07:00
Ciprian Hacman b5f14b589b Add initial support for Hetzner Cloud 2022-05-09 06:12:15 +03:00
Peter Rifel 7aae4d11c8
Add IRSA for kube-router 2022-05-05 21:51:01 -05:00
Jesse Haka 5509bfeb7a add buildprune 2022-05-04 13:20:24 +03:00
Jesse Haka 28caf02878 Support GPU in OpenStack 2022-03-11 09:19:09 +02:00
John Gardiner Myers 70f7d9bdb2 Use function to get cloud provider from cluster spec 2022-03-02 21:59:47 -08:00
AkiraFukushima c8710203ba
Add support to install EKS Pod Identity Webhook 2022-02-20 18:33:50 +09:00
Ole Markus With 9431c0ab69 Update LBC to 2.4.0 2022-02-16 21:39:31 +01:00
Jiahui Feng 0933e2a637 enable pruning for GCE CCM. 2022-02-10 16:08:52 -08:00
Ole Markus With 0ef596dd49 Do not create an IAM role for dns-controller on gossip clusters 2022-01-16 10:31:11 +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
John Gardiner Myers dae281d30e Migrate to GCE CCM in k8s 1.24 2021-12-28 19:33:07 -08:00
Jiahui Feng 733f4d524f external CCM for GCE 2021-12-20 17:15:17 -08:00
Ole Markus With c89e318701 Karpenter does not need PKI 2021-12-14 12:00:17 +01:00