Skip to content

Commit 87dc6a0

Browse files
authored
Merge pull request #54 from fluxcd/api-v1beta1
Promote the notification.toolkit.fluxcd.io API to v1beta1
2 parents 72bb2d8 + d90acda commit 87dc6a0

38 files changed

+612
-126
lines changed

.github/workflows/e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
restore-keys: |
2121
${{ runner.os }}-go-
2222
- name: Setup Go
23-
uses: actions/setup-go@v2-beta
23+
uses: actions/setup-go@v2
2424
with:
25-
go-version: 1.14.x
25+
go-version: 1.15.x
2626
- name: Setup Kubernetes
2727
uses: engineerd/setup-kind@v0.3.0
2828
- name: Setup Kustomize

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.14-alpine as builder
1+
FROM golang:1.15-alpine as builder
22

33
WORKDIR /workspace
44

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/v1alpha1 -config=./hack/api-docs/config.json -template-dir=./hack/api-docs/template -out-file=./docs/api/notification.md
62+
$(API_REF_GEN) -api-dir=./api/v1beta1 -config=./hack/api-docs/config.json -template-dir=./hack/api-docs/template -out-file=./docs/api/notification.md
6363

6464
# Run go mod tidy
6565
tidy:

PROJECT

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ repo: github.com/fluxcd/notification-controller
33
resources:
44
- group: notification
55
kind: Provider
6-
version: v1alpha1
6+
version: v1beta1
77
- group: notification
88
kind: Alert
9-
version: v1alpha1
9+
version: v1beta1
1010
- group: notification
1111
kind: Receiver
12-
version: v1alpha1
12+
version: v1beta1
1313
version: "2"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
[![license](https://img.shields.io/github/license/fluxcd/notification-controller.svg)](https://github.com/fluxcd/notification-controller/blob/master/LICENSE)
66
[![release](https://img.shields.io/github/release/fluxcd/notification-controller/all.svg)](https://github.com/fluxcd/notification-controller/releases)
77

8-
Experimental event forwarded and notification dispatcher for the GitOps Toolkit controllers.
9-
The notification-controller is an implementation of the [notification.toolkit.fluxcd.io](docs/spec/v1alpha1/README.md)
8+
Event forwarded and notification dispatcher for the GitOps Toolkit controllers.
9+
The notification-controller is an implementation of the [notification.toolkit.fluxcd.io](docs/spec/v1beta1/README.md)
1010
API based on the specifications described in the [RFC](docs/spec/README.md).
1111

1212
![overview](docs/diagrams/notification-controller-overview.png)

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/notification-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 v1alpha1
17+
package v1beta1
1818

1919
import (
2020
corev1 "k8s.io/api/core/v1"
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 v1alpha1
17+
package v1beta1
1818

1919
const (
2020
// InitializedReason represents the fact that a given resource has been initialized.
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 v1alpha1 contains API Schema definitions for the notification v1alpha1 API group
17+
// Package v1beta1 contains API Schema definitions for the notification v1beta1 API group
1818
// +kubebuilder:object:generate=true
1919
// +groupName=notification.toolkit.fluxcd.io
20-
package v1alpha1
20+
package v1beta1
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 v1alpha1
17+
package v1beta1
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: "notification.toolkit.fluxcd.io", Version: "v1alpha1"}
26+
GroupVersion = schema.GroupVersion{Group: "notification.toolkit.fluxcd.io", Version: "v1beta1"}
2727

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

0 commit comments

Comments
 (0)