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

Commit

Permalink
Merge pull request #11 from rootn9633/master
Browse files Browse the repository at this point in the history
Update for topolvm 0.8.1
  • Loading branch information
kfirfer authored May 4, 2021
2 parents af354e2 + 4f93f92 commit 4616a0a
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 17 deletions.
6 changes: 3 additions & 3 deletions charts/topolvm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v2
appVersion: 0.7.0
appVersion: 0.8.1
description: Topolvm
name: topolvm
version: 1.2.2
version: 1.2.3
home: https://github.com/topolvm/topolvm
sources:
- https://github.com/topolvm/helm/tree/master/charts/topolvm
- https://github.com/topolvm/topolvm
- https://github.com/topolvm/topolvm
8 changes: 4 additions & 4 deletions charts/topolvm/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# TopoLVM Helm Chart
----------------------------------------

## Pre Requisites
* Kubernetes 1.17+
## Prerequisites
* Kubernetes 1.18+
* Configure `kube-scheduler` on the underlying nodes, ref: https://github.com/topolvm/topolvm/tree/master/deploy#configure-kube-scheduler
* `cert-manager` version `v1.0.0+` installed. ref: https://cert-manager.io/
* Requires at least `v3.2.3` version of helm to support
Expand All @@ -23,8 +23,8 @@ The chart can be customized using the following configurable parameters:

| Parameter | Description | Default |
| ------------------------------- | ----------------------------------------------------------------------------------------------------| -----------------------------|
| `image.repository` | TopoLVM Container image name | `quay.io/topolvm/topolvm` |
| `image.tag` | TopoLVM Container image tag | `0.7.0` |
| `image.repository` | TopoLVM Container image name | `quay.io/topolvm/topolvm-with-sidecar` |
| `image.tag` | TopoLVM Container image tag | `0.8.1` |
| `image.pullPolicy` | TopoLVM Container pull policy | `IfNotPresent` |
| `controller.replicaCount` | Number of TopoLVM controllers pods to deploy | `2` |
| `podSecurityPolicy.create` | Specify if a pod security policy must be created | `true` |
Expand Down
2 changes: 1 addition & 1 deletion charts/topolvm/templates/controller/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ spec:
ports:
- protocol: TCP
port: 443
targetPort: 8443
targetPort: 9443

18 changes: 12 additions & 6 deletions charts/topolvm/templates/crd/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.0
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: logicalvolumes.topolvm.cybozu.com
labels:
Expand All @@ -23,7 +23,9 @@ spec:
description: LogicalVolume is the Schema for the logicalvolumes API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
Expand All @@ -36,7 +38,8 @@ spec:
deviceClass:
type: string
name:
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster Important: Run "make" to regenerate code after modifying this file'
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
Important: Run "make" to regenerate code after modifying this file'
type: string
nodeName:
type: string
Expand All @@ -55,7 +58,8 @@ spec:
description: LogicalVolumeStatus defines the observed state of LogicalVolume
properties:
code:
description: A Code is an unsigned 32-bit error code as defined in the gRPC spec.
description: A Code is an unsigned 32-bit error code as defined in
the gRPC spec.
format: int32
type: integer
currentSize:
Expand All @@ -67,7 +71,9 @@ spec:
message:
type: string
volumeID:
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run "make" to regenerate code after modifying this file'
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
of cluster Important: Run "make" to regenerate code after modifying
this file'
type: string
type: object
type: object
Expand All @@ -81,4 +87,4 @@ status:
plural: ""
conditions: []
storedVersions: []
{{ end }}
{{ end }}
8 changes: 7 additions & 1 deletion charts/topolvm/templates/mutatingwebhooks.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: admissionregistration.k8s.io/v1beta1
apiVersion: admissionregistration.k8s.io/v1
kind: MutatingWebhookConfiguration
metadata:
name: {{ template "topolvm.fullname" . }}-hook
Expand All @@ -9,6 +9,9 @@ metadata:
app.kubernetes.io/name: {{ template "topolvm.fullname" . }}-hook
webhooks:
- name: pod-hook.topolvm.cybozu.com
admissionReviewVersions:
- "v1"
- "v1beta1"
namespaceSelector:
matchExpressions:
- key: topolvm.cybozu.com/webhook
Expand All @@ -27,6 +30,9 @@ webhooks:
resources: ["pods"]
sideEffects: None
- name: pvc-hook.topolvm.cybozu.com
admissionReviewVersions:
- "v1"
- "v1beta1"
namespaceSelector:
matchExpressions:
- key: topolvm.cybozu.com/webhook
Expand Down
4 changes: 2 additions & 2 deletions charts/topolvm/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
image:
repository: quay.io/topolvm/topolvm
tag: 0.7.0
repository: quay.io/topolvm/topolvm-with-sidecar
tag: 0.8.1
pullPolicy: IfNotPresent


Expand Down

0 comments on commit 4616a0a

Please sign in to comment.