Skip to content

Commit

Permalink
Merge pull request #128 from ccremer/remove-zfs-provisioner
Browse files Browse the repository at this point in the history
Migrate kubernetes-zfs-provisioner chart
  • Loading branch information
ccremer authored Jul 23, 2022
2 parents bd90d02 + 09b241f commit e521659
Show file tree
Hide file tree
Showing 22 changed files with 7 additions and 711 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
| [![chart downloads](https://img.shields.io/github/downloads/ccremer/charts/emby-0.2.3/total)](https://github.com/ccremer/charts/releases/tag/emby-0.2.3) | [emby](charts/emby/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/ccremer/charts/fronius-exporter-0.8.1/total)](https://github.com/ccremer/charts/releases/tag/fronius-exporter-0.8.1) | [fronius-exporter](charts/fronius-exporter/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/ccremer/charts/fronius-stack-0.1.5/total)](https://github.com/ccremer/charts/releases/tag/fronius-stack-0.1.5) | [fronius-stack](charts/fronius-stack/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/ccremer/charts/kubernetes-zfs-provisioner-1.1.3/total)](https://github.com/ccremer/charts/releases/tag/kubernetes-zfs-provisioner-1.1.3) | [kubernetes-zfs-provisioner](charts/kubernetes-zfs-provisioner/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/ccremer/charts/samba-0.1.1/total)](https://github.com/ccremer/charts/releases/tag/samba-0.1.1) | [samba](charts/samba/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/ccremer/charts/stiebeleltron-exporter-0.1.1/total)](https://github.com/ccremer/charts/releases/tag/stiebeleltron-exporter-0.1.1) | [stiebeleltron-exporter](charts/stiebeleltron-exporter/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/ccremer/charts/stiebeleltron-stack-0.1.2/total)](https://github.com/ccremer/charts/releases/tag/stiebeleltron-stack-0.1.2) | [stiebeleltron-stack](charts/stiebeleltron-stack/README.md) |
Expand Down
28 changes: 0 additions & 28 deletions charts/kubernetes-zfs-provisioner/.helmignore

This file was deleted.

24 changes: 0 additions & 24 deletions charts/kubernetes-zfs-provisioner/Chart.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions charts/kubernetes-zfs-provisioner/README.gotmpl.md

This file was deleted.

60 changes: 7 additions & 53 deletions charts/kubernetes-zfs-provisioner/README.md
Original file line number Diff line number Diff line change
@@ -1,56 +1,10 @@
# kubernetes-zfs-provisioner
# ⚠️ THIS CHART HAS MOVED

![Version: 1.1.3](https://img.shields.io/badge/Version-1.1.3-informational?style=flat-square)
This chart is no longer maintained here.
The chart previously available here has been moved to https://github.com/ccremer/kubernetes-zfs-provisioner/tree/master/charts/kubernetes-zfs-provisioner.

Dynamic ZFS persistent volume provisioner for Kubernetes
To communicate a clear cut, a new chart is released in version v2.0.0 with a few changes.
The releases from v2.0.0 and onwards are only available in the new location.
All previously released chart versions remain in the this repository.

## Installation

```bash
helm repo add ccremer https://ccremer.github.io/charts
helm install kubernetes-zfs-provisioner ccremer/kubernetes-zfs-provisioner
```
## Upgrading from 0.x charts

There are some breaking changes from 0.x to 1.x versions.

* The `storageclass.classes` array is now empty.
Where it previously contained an example, the example is removed as a default value.
The example is still in `values.yaml` in form of YAML comments.
* The `image.registry` has changed from `docker.io` to `quay.io` due to Docker Hub's pull limit.
* Bumped `image.tag` to `v1.0.0`

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| env | object | `{}` | A dict with KEY: VALUE pairs |
| fullnameOverride | string | `""` | |
| hostAliases | object | `{}` | A dict with `{ip, hostnames array}` to configure custom entries in /etc/hosts. See [values.yaml](./values.yaml) for an example. |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.registry | string | `"quay.io"` | Container image registry |
| image.repository | string | `"ccremer/zfs-provisioner"` | Location of the container image |
| image.tag | string | `"v1.1.0"` | Container image tag |
| imagePullSecrets | list | `[]` | |
| nameOverride | string | `""` | |
| nodeSelector | object | `{}` | Reminder: This has no effect on any PVs, but maybe you want the provisioner pod running on certain nodes. |
| podSecurityContext | object | `{}` | If you encounter **issues with SSH, set `podSecurityContext.fsGroup=100`**, as the SSH files might not be readable to the container user `zfs` with uid 100. |
| provisioner.instance | string | `"pv.kubernetes.io/zfs"` | Provisoner instance name if multiple are running (multiple instances are not required for managing multiple ZFS hosts) |
| rbac.create | bool | `false` | **Required for first time deployments** Grant the service account the necessary permissions, |
| replicaCount | int | `1` | Usually `1` is fine |
| resources.limits.memory | string | `"40Mi"` | |
| resources.requests.cpu | string | `"50m"` | |
| resources.requests.memory | string | `"20Mi"` | |
| securityContext | object | `{}` | |
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account |
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| ssh.config | string | `""` | **Required.** ssh_config(5)-compatible file content to configure SSH options when connecting |
| ssh.externalSecretName | string | `""` | If SSH secrets are managed externally, specify the name |
| ssh.identities | object | `{}` | **Required.** Provide a private key for each SSH identity. See [values.yaml](./values.yaml) for an example |
| ssh.knownHosts | list | `[]` | **Required.** List of {host, pubKey} dicts where the public key of each host is configured |
| ssh.mountPath | string | `"/home/zfs/.ssh"` | The path where the SSH config and identities are mounted |
| storageClass.classes | list | `[]` | Storage classes to create. See [values.yaml](values.yaml) for an example. |
| storageClass.create | bool | `false` | Whether to create storage classes for this provisioner. |
| tolerations | list | `[]` | |
To see the Helm values of the 0.x and 1.x charts, switch the file viewer to the respective release tags.
70 changes: 0 additions & 70 deletions charts/kubernetes-zfs-provisioner/templates/_helpers.tpl

This file was deleted.

75 changes: 0 additions & 75 deletions charts/kubernetes-zfs-provisioner/templates/deployment.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions charts/kubernetes-zfs-provisioner/templates/rbac.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions charts/kubernetes-zfs-provisioner/templates/secret.yaml

This file was deleted.

12 changes: 0 additions & 12 deletions charts/kubernetes-zfs-provisioner/templates/serviceaccount.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions charts/kubernetes-zfs-provisioner/templates/storageclass.yaml

This file was deleted.

Loading

0 comments on commit e521659

Please sign in to comment.