Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

feat: helm chart oci field for addons #39

Closed
wants to merge 95 commits into from
Closed

Conversation

faiq
Copy link

@faiq faiq commented Apr 8, 2024

depends on #27

adds a field for OCI registry to get helm charts from

jimmidyson and others added 30 commits March 21, 2024 12:30
Missed when reorganising example kustomizations in previous PR.
- Defines a cluster-level variable for defining one or more users
- Patches bootstrap templates for control plane and worker node pools
  with user configuration
Co-authored-by: Faiq <faiq.raza@nutanix.com>
Signed-off-by: Deepak Muley <deepak.muley@nutanix.com>
Without this, defaults declared in the JSON schema are not included in validation
steps, which can lead to invalid failures, while also not allowing for tests that
target defaults.
Fix typo in lockPassword logic, and add unit test
feat: Add examples for Nutanix provider
Add unit test for empty hashed password
Change Sudo field from pointer to value

The zero value (empty string) is not valid, so the field does not need
to be a pointer.
Explain why we do not validate hashed password input
Explain why we do not validate sudo input
Also deploy infra provider versions that match the API.
CPI is a term unique to the vSphere CCM.
Renaming to the more generic "CCM".
dkoshkin and others added 6 commits April 9, 2024 08:28
Using a cross-namespace objectRef in the cluster API
can lead to privilege escalation.
A user with RBAC to read Secrets in one namespace can create a cluster,
and copy any Secret from any other namespace to their workload cluster.
* refactor: combine PC host and port into a single url var

This makes it simpler for clients to provide a single input field
and not have to do any parsing to split the hostname and port.
It also allows us to use API validation for bad input.

* fixup! refactor: combine PC host and port into a single url var

* fixup! refactor: combine PC host and port into a single url var

* fixup! refactor: combine PC host and port into a single url var
@faiq faiq force-pushed the faiq/helm-addon-config-from-configmap branch from 7969d1b to ed362df Compare April 9, 2024 18:07
The existing code created a ClusterResourceSet with the user provided Secret.
However, that won't work unless that Secret has an embedded Secret in it.
@faiq faiq force-pushed the faiq/helm-addon-config-from-configmap branch from aa0f5de to eba2351 Compare April 9, 2024 19:13
* ci: adds tooling to create configmap

* feat: use a configmap to get helmchart info

* fix: precommit issues

* fix: typo in cilium

* fix: remove workspace files

* build: template name for configmap

* refactor: names for helm chart info getter

* refactor: use nutanix-storage name instead of nutnaix-csi

* refactor: move to globaloptions

* fix: adds snapshot to helm config

* fix: comments after review

* fix: adds a warning and removes ebs csi

* fix: typo

* fix: adds missing script file

* fix: precommit
Base automatically changed from faiq/helm-addon-config-from-configmap to main April 9, 2024 19:28
Copy link

github-actions bot commented Apr 9, 2024

This PR/issue depends on:

@faiq faiq force-pushed the faiq/helm-chart-addon-field branch 2 times, most recently from d6a5fa8 to 25d0c9c Compare April 9, 2024 20:27
@supershal
Copy link

can you please move ValidateTopology stuff in a separate PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants