Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
add networkpool into helm (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
njuettner authored Jul 27, 2021
1 parent 1f06d74 commit cf63aec
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Add networkpool CR into Helm chart.

## [3.28.0] - 2021-07-27

### Added
Expand Down
1 change: 1 addition & 0 deletions config/crd/infrastructure.giantswarm.io_networkpools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ spec:
group: infrastructure.giantswarm.io
names:
categories:
- aws
- giantswarm
- cluster-api
kind: NetworkPool
Expand Down
82 changes: 82 additions & 0 deletions helm/crds-aws/templates/giantswarm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,88 @@ status:
conditions: []
storedVersions: []

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.2.4
creationTimestamp: null
name: networkpools.infrastructure.giantswarm.io
spec:
group: infrastructure.giantswarm.io
names:
categories:
- aws
- giantswarm
- cluster-api
kind: NetworkPool
listKind: NetworkPoolList
plural: networkpools
singular: networkpool
scope: Namespaced
versions:
- name: v1alpha2
schema:
openAPIV3Schema:
description: NetworkPool is the infrastructure provider referenced in upstream CAPI Cluster CRs.
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'
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'
type: string
metadata:
type: object
spec:
description: NetworkPoolSpec is the spec part for the NetworkPool resource.
properties:
cidrBlock:
description: IPv4 address block in CIDR notation.
type: string
type: object
required:
- spec
type: object
served: true
storage: false
subresources:
status: {}
- name: v1alpha3
schema:
openAPIV3Schema:
description: NetworkPool is the infrastructure provider referenced in upstream CAPI Cluster CRs.
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'
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'
type: string
metadata:
type: object
spec:
description: NetworkPoolSpec is the spec part for the NetworkPool resource.
properties:
cidrBlock:
description: IPv4 address block in CIDR notation.
type: string
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/infrastructure/v1alpha3/network_pool_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:storageversion
// +kubebuilder:subresource:status
// +kubebuilder:resource:categories=giantswarm;cluster-api
// +kubebuilder:resource:categories=aws;giantswarm;cluster-api
// +k8s:openapi-gen=true

// NetworkPool is the infrastructure provider referenced in upstream CAPI Cluster
Expand Down

0 comments on commit cf63aec

Please sign in to comment.