Skip to content
This repository was archived by the owner on Nov 18, 2020. It is now read-only.

Commit 0c02862

Browse files
Helm upgrade for 0.14.1 (#110)
* upgrade helm to use SDK 0.14.1 by: * changes applied by in roles, crd and watch by comparing the project with an empty new helm project created with 0.14.1. * the watch was changed because with it no longer equired to inform the full path. See: (operator-framework/operator-sdk#2325)
1 parent fe285e2 commit 0c02862

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/operator-framework/helm-operator:v0.13.0
1+
FROM quay.io/operator-framework/helm-operator:v0.14.1
22

33
COPY watches.yaml ${HOME}/watches.yaml
44
COPY helm-charts/ ${HOME}/helm-charts/

helm/memcached-operator/deploy/crds/cache.example.com_memcacheds_crd.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ spec:
1212
scope: Namespaced
1313
subresources:
1414
status: {}
15+
validation:
16+
openAPIV3Schema:
17+
type: object
18+
x-kubernetes-preserve-unknown-fields: true
1519
versions:
1620
- name: v1alpha1
1721
served: true

helm/memcached-operator/deploy/role.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,21 @@ rules:
2020
- apiGroups:
2121
- policy
2222
resources:
23+
- events
2324
- poddisruptionbudgets
2425
verbs:
2526
- '*'
2627
- apiGroups:
2728
- ""
2829
resources:
30+
- serviceaccounts
2931
- services
3032
verbs:
3133
- '*'
3234
- apiGroups:
3335
- apps
3436
resources:
37+
- deployments
3538
- statefulsets
3639
verbs:
3740
- '*'

helm/memcached-operator/watches.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
- version: v1alpha1
33
group: cache.example.com
44
kind: Memcached
5-
chart: /opt/helm/helm-charts/memcached
5+
chart: helm-charts/memcached

0 commit comments

Comments
 (0)