Skip to content

Commit 77399d5

Browse files
authored
Merge pull request #99 from fluxcd/api/v0.1.0
Promote the helm.toolkit.fluxcd.io API to v2beta1
2 parents 9e3760a + accd476 commit 77399d5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1087
-167
lines changed

.github/workflows/e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Go
2323
uses: actions/setup-go@v2-beta
2424
with:
25-
go-version: 1.14.x
25+
go-version: 1.15.x
2626
- name: Setup Kubernetes
2727
uses: engineerd/setup-kind@v0.4.0
2828
- name: Setup Helm

.github/workflows/fossa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v2
1313
- uses: actions/setup-go@v2
1414
with:
15-
go-version: "^1.14.x"
15+
go-version: "^1.15.x"
1616
- run: go version
1717
# Runs a set of commands to initialize and analyze with FOSSA
1818
- name: run FOSSA analysis

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Docker buildkit multi-arch build requires golang alpine
2-
FROM golang:1.14-alpine as builder
2+
FROM golang:1.15-alpine as builder
33

44
WORKDIR /workspace
55

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ manifests: controller-gen
5959

6060
# Generate API reference documentation
6161
api-docs: gen-crd-api-reference-docs
62-
$(API_REF_GEN) -api-dir=./api/v2alpha1 -config=./hack/api-docs/config.json -template-dir=./hack/api-docs/template -out-file=./docs/api/helmrelease.md
62+
$(API_REF_GEN) -api-dir=./api/v2beta1 -config=./hack/api-docs/config.json -template-dir=./hack/api-docs/template -out-file=./docs/api/helmrelease.md
6363

6464
# Run go fmt against code
6565
fmt:

PROJECT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ repo: github.com/fluxcd/helm-controller
33
resources:
44
- group: helm
55
kind: HelmRelease
6-
version: v2alpha1
6+
version: v2beta1
77
version: "2"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ operator.
4444

4545
## Specifications
4646

47-
* [API](docs/spec/v2alpha1/README.md)
47+
* [API](docs/spec/v2beta1/README.md)
4848
* [Controller](docs/spec/README.md)
4949

5050
[source-controller]: https://github.com/fluxcd/source-controller

api/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/fluxcd/helm-controller/api
22

3-
go 1.14
3+
go 1.15
44

55
require (
66
github.com/fluxcd/pkg/apis/meta v0.0.2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package v2alpha1
17+
package v2beta1
1818

1919
const (
2020
// ReleasedCondition represents the status of the last release attempt
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
// Package v2alpha1 contains API Schema definitions for the helm v2alpha1 API group
17+
// Package v2beta1 contains API Schema definitions for the helm v2beta1 API group
1818
// +kubebuilder:object:generate=true
1919
// +groupName=helm.toolkit.fluxcd.io
20-
package v2alpha1
20+
package v2beta1
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
package v2alpha1
17+
package v2beta1
1818

1919
import (
2020
"k8s.io/apimachinery/pkg/runtime/schema"
@@ -23,7 +23,7 @@ import (
2323

2424
var (
2525
// GroupVersion is group version used to register these objects
26-
GroupVersion = schema.GroupVersion{Group: "helm.toolkit.fluxcd.io", Version: "v2alpha1"}
26+
GroupVersion = schema.GroupVersion{Group: "helm.toolkit.fluxcd.io", Version: "v2beta1"}
2727

2828
// SchemeBuilder is used to add go types to the GroupVersionKind scheme
2929
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

0 commit comments

Comments
 (0)