Skip to content

Commit

Permalink
Merge pull request #151 from JohnStrunk/prep3
Browse files Browse the repository at this point in the history
Prepare for release v3.0.0
  • Loading branch information
JohnStrunk authored Apr 1, 2022
2 parents c8efd84 + 462f077 commit e35bcb4
Show file tree
Hide file tree
Showing 11 changed files with 131 additions and 101 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ This project follows [Semantic Versioning](https://semver.org/)

## [Unreleased]

## [3.0.0] - 2021-04-01

### Changed

- Snapshot objects are now accessed via `snapshot.storage.k8s.io/v1` API version
- Upgrade operator-sdk to 1.18

### Removed

Expand Down Expand Up @@ -75,7 +78,8 @@ This project follows [Semantic Versioning](https://semver.org/)
- Label selectors to control which PVCs are selected for snapshotting
- Retention policies based on snapshot age or count

[unreleased]: https://github.com/backube/snapscheduler/compare/v2.1.0...HEAD
[unreleased]: https://github.com/backube/snapscheduler/compare/v3.0.0...HEAD
[3.0.0]: https://github.com/backube/snapscheduler/compare/v2.1.0...v3.0.0
[2.1.0]: https://github.com/backube/snapscheduler/compare/v2.0.0...v2.1.0
[2.0.0]: https://github.com/backube/snapscheduler/compare/v1.2.0...v2.0.0
[1.2.0]: https://github.com/backube/snapscheduler/compare/v1.1.1...v1.2.0
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ controller-gen: ## Download controller-gen locally if necessary.
.PHONY: kustomize
KUSTOMIZE = $(shell pwd)/bin/kustomize
kustomize: ## Download kustomize locally if necessary.
$(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/[email protected])
$(call go-get-tool,$(KUSTOMIZE),sigs.k8s.io/kustomize/kustomize/[email protected])

.PHONY: envtest
ENVTEST = $(shell pwd)/bin/setup-envtest
Expand Down
2 changes: 1 addition & 1 deletion bundle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/
LABEL operators.operatorframework.io.bundle.package.v1=snapscheduler
LABEL operators.operatorframework.io.bundle.channels.v1=candidate,stable
LABEL operators.operatorframework.io.bundle.channel.default.v1=stable
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.14.0+git
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.17.0+git
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
controller-gen.kubebuilder.io/version: v0.8.0
creationTimestamp: null
name: snapshotschedules.snapscheduler.backube
spec:
Expand Down
22 changes: 14 additions & 8 deletions bundle/manifests/snapscheduler.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ metadata:
certified: "false"
description: The SnapScheduler operator takes snapshots of Kubernetes CSI-based
persistent volumes according to user-supplied schedules.
operators.operatorframework.io/builder: operator-sdk-v1.14.0+git
operators.operatorframework.io/builder: operator-sdk-v1.17.0+git
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/backube/snapscheduler
support: https://github.com/backube/snapscheduler
containerImage: quay.io/backube/snapscheduler:2.1.0
name: snapscheduler.v2.1.0
containerImage: quay.io/backube/snapscheduler:3.0.0
name: snapscheduler.v3.0.0
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -271,21 +271,27 @@ spec:
- --secure-listen-address=0.0.0.0:8443
- --upstream=http://127.0.0.1:8080/
- --logtostderr=true
- --v=10
- --v=0
image: quay.io/brancz/kube-rbac-proxy:v0.11.0
name: kube-rbac-proxy
ports:
- containerPort: 8443
name: https
protocol: TCP
resources: {}
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 5m
memory: 64Mi
- args:
- --health-probe-bind-address=:8081
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
command:
- /manager
image: quay.io/backube/snapscheduler:2.1.0
image: quay.io/backube/snapscheduler:3.0.0
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -372,8 +378,8 @@ spec:
- email: [email protected]
name: John Strunk
maturity: stable
minKubeVersion: 1.17.0-0
minKubeVersion: 1.20.0-0
provider:
name: Backube
url: https://github.com/backube
version: 2.1.0
version: 3.0.0
2 changes: 1 addition & 1 deletion bundle/metadata/annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ annotations:
operators.operatorframework.io.bundle.package.v1: snapscheduler
operators.operatorframework.io.bundle.channels.v1: candidate,stable
operators.operatorframework.io.bundle.channel.default.v1: stable
operators.operatorframework.io.metrics.builder: operator-sdk-v1.14.0+git
operators.operatorframework.io.metrics.builder: operator-sdk-v1.17.0+git
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3

Expand Down
12 changes: 6 additions & 6 deletions bundle/tests/scorecard/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ stages:
- entrypoint:
- scorecard-test
- basic-check-spec
image: quay.io/operator-framework/scorecard-test:v1.15.0
image: quay.io/operator-framework/scorecard-test:v1.18.0
labels:
suite: basic
test: basic-check-spec-test
Expand All @@ -18,7 +18,7 @@ stages:
- entrypoint:
- scorecard-test
- olm-bundle-validation
image: quay.io/operator-framework/scorecard-test:v1.15.0
image: quay.io/operator-framework/scorecard-test:v1.18.0
labels:
suite: olm
test: olm-bundle-validation-test
Expand All @@ -28,7 +28,7 @@ stages:
- entrypoint:
- scorecard-test
- olm-crds-have-validation
image: quay.io/operator-framework/scorecard-test:v1.15.0
image: quay.io/operator-framework/scorecard-test:v1.18.0
labels:
suite: olm
test: olm-crds-have-validation-test
Expand All @@ -38,7 +38,7 @@ stages:
- entrypoint:
- scorecard-test
- olm-crds-have-resources
image: quay.io/operator-framework/scorecard-test:v1.15.0
image: quay.io/operator-framework/scorecard-test:v1.18.0
labels:
suite: olm
test: olm-crds-have-resources-test
Expand All @@ -48,7 +48,7 @@ stages:
- entrypoint:
- scorecard-test
- olm-spec-descriptors
image: quay.io/operator-framework/scorecard-test:v1.15.0
image: quay.io/operator-framework/scorecard-test:v1.18.0
labels:
suite: olm
test: olm-spec-descriptors-test
Expand All @@ -58,7 +58,7 @@ stages:
- entrypoint:
- scorecard-test
- olm-status-descriptors
image: quay.io/operator-framework/scorecard-test:v1.15.0
image: quay.io/operator-framework/scorecard-test:v1.18.0
labels:
suite: olm
test: olm-status-descriptors-test
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ kind: Kustomization
images:
- name: controller
newName: quay.io/backube/snapscheduler
newTag: latest
newTag: 3.0.0
3 changes: 2 additions & 1 deletion docs/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ source "https://rubygems.org"
# bundle update
# bundle exec jekyll serve -w -l

gem "github-pages", group: :jekyll_plugins
# Current github-pages version: https://pages.github.com/versions/
gem "github-pages", "~> 225", group: :jekyll_plugins

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
Expand Down
Loading

0 comments on commit e35bcb4

Please sign in to comment.