Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Install components using flux helm-controller and source-controller #1557

Closed
wants to merge 38 commits into from

Conversation

surajssd
Copy link
Member

Fixes: #1528

@surajssd surajssd requested a review from iaguis August 27, 2021 13:44
@knrt10
Copy link
Member

knrt10 commented Aug 30, 2021

After talking with Suraj offline, it was thought that it would be better to move "converting components to Helm charts" commits in a different PR so that they can be merged to master.

Copy link
Member

@knrt10 knrt10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work @surajssd. Some initial review

pkg/components/util/install.go Outdated Show resolved Hide resolved
pkg/components/util/install.go Outdated Show resolved Hide resolved
pkg/components/util/install.go Outdated Show resolved Hide resolved
pkg/components/contour/component.go Outdated Show resolved Hide resolved
pkg/components/contour/component.go Outdated Show resolved Hide resolved
pkg/components/rook/component.go Outdated Show resolved Hide resolved
pkg/components/rook/component.go Outdated Show resolved Hide resolved
pkg/components/rook-ceph/component.go Outdated Show resolved Hide resolved
pkg/components/util/install.go Outdated Show resolved Hide resolved
pkg/components/util/install.go Outdated Show resolved Hide resolved
@surajssd surajssd force-pushed the surajssd/component-auto-update branch 4 times, most recently from 01466d2 to 0a79ba2 Compare September 9, 2021 12:29
…-driver"

This reverts commit 004294c, reversing
changes made to 9f67cb3.

This is reverted due to flakiness/issue of `aws-ebs-csi-driver` on
Kubernetes version 1.21.4.

`ebs-plugin` container panics due to not being able to query instance
metadata:
```
W0909 10:57:15.342750       1 metadata.go:101] EC2 instance metadata is not available
panic: error getting information from metadata service or node object: node providerID empty, cannot parse

goroutine 1 [running]:
github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/driver.newNodeService(0xc00003a730, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/driver/node.go:88 +0x24c
github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/driver.NewDriver(0xc00050ff40, 0x7, 0x7, 0xc000078660, 0xc00032ec30, 0x1fded28)
	/go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/driver/driver.go:94 +0x425
main.main()
	/go/src/github.com/kubernetes-sigs/aws-ebs-csi-driver/cmd/main.go:46 +0x212
```
Revert "Merge pull request #1504 from kinvolk/surajssd/update-aws-csi-driver
This commit removes the Dockerfile and iscsiadm files from the repo and
updates the README for newer instructions on how to build the kubelet
image.

Signed-off-by: Imran Pochi <imran@kinvolk.io>
Signed-off-by: Imran Pochi <imran@kinvolk.io>
Signed-off-by: Imran Pochi <imran@kinvolk.io>
@surajssd surajssd force-pushed the surajssd/component-auto-update branch from 0a79ba2 to 5487d44 Compare September 13, 2021 09:09
ipochi and others added 6 commits September 14, 2021 10:28
This commit adds additional packages which are required in the
`flatcar-install` script.

Signed-off-by: Imran Pochi <imran@kinvolk.io>
…-image

tinkerbell: Add btrfs-progs and gawk to Dockerfile
Release CHANGELOG and scripts to update controller and worker nodes:
etcd and host kubelet.

Signed-off-by: Imran Pochi <imran@kinvolk.io>
Co-authored-by: Imran Pochi <imran@kinvolk.io>
Signed-off-by: Imran Pochi <imran@kinvolk.io>
Signed-off-by: Imran Pochi <imran@kinvolk.io>
surajssd and others added 5 commits October 4, 2021 18:16
Signed-off-by: Suraj Deshmukh <surajd.service@gmail.com>
- Add flux helm-controller API.
- Add flux source-controller API.
- Add sigs.k8s.io/controller-runtime.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
This commit adds a new function in the Component interface that can
generate the "HelmRelease" file.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
This commit collects more git metadata like branch and commit. This will
be further used to create GitRepository CR.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
This commit adds support for `lokoctl experimental component apply`.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
The CRDs and corresponding CRs are installed from the same template dir,
hence the initial validation fails since helm-controller cannot find the
schema on api-server. This commit makes the ordering little different by
installing the CRDs before CRs using helm hooks.

Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
@surajssd surajssd force-pushed the surajssd/component-auto-update branch from 403785c to 2f5613b Compare October 4, 2021 12:47
@surajssd surajssd closed this Jun 1, 2022
@surajssd surajssd deleted the surajssd/component-auto-update branch June 1, 2022 11:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants