You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**What problem does this PR solve?**:
This adds trust-manager to allow us to use self hosted helm charts in
mindthegap. See:
kubernetes-sigs/cluster-api-addon-provider-helm#104
We can think about this in a couple of different parts:
1. Installing trust-manager and CRDs. We need to install trust manager
so that we can create a certificate bundle with our self signed cert to
caaph-controller-manager. We pull the CRDs separately because we are
unable to use them in our templates because they aren't available at
that time. See the comment in the script for more details.
2. Modifying CAAPH to use the bundle. This is done through a job it has
a corresponding Service Account/Role/Role Binding.
3. Various little fixes. ie changing repository url and versions to
using `v`
I tested this by creating a docker cluster.
The helm chart proxies use this value
```yaml
- apiVersion: addons.cluster.x-k8s.io/v1alpha1
kind: HelmChartProxy
metadata:
creationTimestamp: "2024-05-14T23:41:09Z"
finalizers:
- helmchartproxy.addons.cluster.x-k8s.io
generation: 1
name: node-feature-discovery-docker-cluster-cilium-helm-addon
namespace: default
ownerReferences:
- apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
name: docker-cluster-cilium-helm-addon
uid: e0e943e4-6d63-4d85-8d37-f63160ff93e3
resourceVersion: "3282"
uid: e04b6b62-5f39-4528-87f7-5928d2afd4dd
spec:
chartName: node-feature-discovery
clusterSelector:
matchLabels:
cluster.x-k8s.io/cluster-name: docker-cluster-cilium-helm-addon
namespace: node-feature-discovery
options:
enableClientCache: false
install:
createNamespace: true
timeout: 10m0s
upgrade:
maxHistory: 10
releaseName: node-feature-discovery
repoURL: oci://mindthegap.mindthegap.svc/charts
```
**Which issue(s) this PR fixes**:
Fixes #
**How Has This Been Tested?**:
<!--
Please describe the tests that you ran to verify your changes.
Provide output from the tests and any manual steps needed to replicate
the tests.
-->
**Special notes for your reviewer**:
<!--
Use this to provide any additional information to the reviewers.
This may include:
- Best way to review the PR.
- Where the author wants the most review attention on.
- etc.
-->
0 commit comments