Skip to content

Commit

Permalink
helm chart update
Browse files Browse the repository at this point in the history
  • Loading branch information
senthilrch committed Jun 10, 2021
1 parent 3a63a61 commit 151bf80
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,35 @@ These instructions install _kube-fledged_ to a separate namespace called "kube-f
$ kubectl get imagecaches -n kube-fledged (Output should be: 'No resources found')
```

## Quick Install using Helm chart

- Create the namespace where kube-fledged will be installed

```
$ export KUBEFLEDGED_NAMESPACE=kube-fledged
$ kubectl create namespace ${KUBEFLEDGED_NAMESPACE}
```

- Create secret containing cert/key for kubefledged-webhook-server

```
$ curl -fsSL https://raw.githubusercontent.com/senthilrch/kube-fledged/master/deploy/webhook-create-signed-cert.sh | bash -s -- --namespace ${KUBEFLEDGED_NAMESPACE}
```

- Retrieve the certifica-authoity-data of the kubernetes cluster

```
$ CLUSTER=$(kubectl config view --raw --flatten -o json | jq -r '.contexts[] | select(.name == "'$(kubectl config current-context)'") | .context.cluster')
$ export CA_BUNDLE=$(kubectl config view --raw --flatten -o json | jq -r '.clusters[] | select(.name == "'${CLUSTER}'") | .cluster."certificate-authority-data"')
```

- Install kube-fledged helm chart

```
helm install image-cacher ./deploy/kubefledged-operator/helm-charts/kubefledged -n ${KUBEFLEDGED_NAMESPACE} --wait --set validatingWebhookCABundle=${CA_BUNDLE}
```

## Quick Install using Helm operator

These instructions install _kube-fledged_ to a separate namespace called "kube-fledged", using Helm operator and pre-built images in [Docker Hub.](https://hub.docker.com/u/senthilrch)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v3
name: kube-fledged
description: A Helm chart for Kubernetes
description: A Helm chart for deploying kube-fledged

# A chart can be either an 'application' or a 'library' chart.
#
Expand Down

0 comments on commit 151bf80

Please sign in to comment.