-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduce harvester-vm-dhcp-controller chart
Signed-off-by: Zespre Chang <[email protected]>
- Loading branch information
1 parent
894cfcb
commit 948385c
Showing
11 changed files
with
877 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
apiVersion: v2 | ||
name: harvester-vm-dhcp-controller | ||
description: A Helm chart for Harvester VM DHCP Controller | ||
|
||
# A chart can be either an 'application' or a 'library' chart. | ||
# | ||
# Application charts are a collection of templates that can be packaged into versioned archives | ||
# to be deployed. | ||
# | ||
# Library charts provide useful utilities or functions for the chart developer. They're included as | ||
# a dependency of application charts to inject those utilities and functions into the rendering | ||
# pipeline. Library charts do not define any templates and therefore cannot be deployed. | ||
type: application | ||
|
||
# This is the chart version. This version number should be incremented each time you make changes | ||
# to the chart and its templates, including the app version. | ||
# Versions are expected to follow Semantic Versioning (https://semver.org/) | ||
version: 0.0.0-dev | ||
|
||
# This is the version number of the application being deployed. This version number should be | ||
# incremented each time you make changes to the application. Versions are not expected to | ||
# follow Semantic Versioning. They should reflect the version the application is using. | ||
# It is recommended to use it with quotes. | ||
appVersion: "v0.1.0" | ||
|
||
maintainers: | ||
- name: harvester |
164 changes: 164 additions & 0 deletions
164
charts/harvester-vm-dhcp-controller/crds/network.harvesterhci.io_ippools.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
{} | ||
name: ippools.network.harvesterhci.io | ||
spec: | ||
group: network.harvesterhci.io | ||
names: | ||
kind: IPPool | ||
listKind: IPPoolList | ||
plural: ippools | ||
shortNames: | ||
- ippl | ||
- ippls | ||
singular: ippool | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .spec.networkName | ||
name: NETWORK | ||
type: string | ||
- jsonPath: .status.ipv4.available | ||
name: AVAILABLE | ||
type: integer | ||
- jsonPath: .status.ipv4.used | ||
name: USED | ||
type: integer | ||
- jsonPath: .status.conditions[?(@.type=='Registered')].status | ||
name: REGISTERED | ||
type: string | ||
- jsonPath: .status.conditions[?(@.type=='CacheReady')].status | ||
name: CACHEREADY | ||
type: string | ||
- jsonPath: .status.conditions[?(@.type=='AgentReady')].status | ||
name: AGENTREADY | ||
type: string | ||
- jsonPath: .metadata.creationTimestamp | ||
name: AGE | ||
type: date | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
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: | ||
properties: | ||
ipv4Config: | ||
properties: | ||
cidr: | ||
type: string | ||
dns: | ||
items: | ||
type: string | ||
type: array | ||
domainName: | ||
type: string | ||
domainSearch: | ||
items: | ||
type: string | ||
type: array | ||
leaseTime: | ||
type: integer | ||
ntp: | ||
items: | ||
type: string | ||
type: array | ||
pool: | ||
properties: | ||
end: | ||
type: string | ||
exclude: | ||
items: | ||
type: string | ||
type: array | ||
start: | ||
type: string | ||
type: object | ||
router: | ||
type: string | ||
serverIP: | ||
type: string | ||
type: object | ||
networkName: | ||
type: string | ||
paused: | ||
type: boolean | ||
type: object | ||
status: | ||
properties: | ||
agentPodRef: | ||
properties: | ||
name: | ||
type: string | ||
namespace: | ||
type: string | ||
type: object | ||
conditions: | ||
items: | ||
properties: | ||
lastTransitionTime: | ||
description: Last time the condition transitioned from one status | ||
to another. | ||
type: string | ||
lastUpdateTime: | ||
description: The last time this condition was updated. | ||
type: string | ||
message: | ||
description: Human-readable message indicating details about | ||
last transition | ||
type: string | ||
reason: | ||
description: The reason for the condition's last transition. | ||
type: string | ||
status: | ||
description: Status of the condition, one of True, False, Unknown. | ||
type: string | ||
type: | ||
description: Type of cluster condition. | ||
type: string | ||
required: | ||
- status | ||
- type | ||
type: object | ||
type: array | ||
ipv4: | ||
properties: | ||
allocated: | ||
additionalProperties: | ||
type: string | ||
type: object | ||
available: | ||
type: integer | ||
used: | ||
type: integer | ||
required: | ||
- available | ||
- used | ||
type: object | ||
lastUpdate: | ||
format: date-time | ||
type: string | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: {} |
116 changes: 116 additions & 0 deletions
116
...rvester-vm-dhcp-controller/crds/network.harvesterhci.io_virtualmachinenetworkconfigs.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
{} | ||
name: virtualmachinenetworkconfigs.network.harvesterhci.io | ||
spec: | ||
group: network.harvesterhci.io | ||
names: | ||
kind: VirtualMachineNetworkConfig | ||
listKind: VirtualMachineNetworkConfigList | ||
plural: virtualmachinenetworkconfigs | ||
shortNames: | ||
- vmnetcfg | ||
- vmnetcfgs | ||
singular: virtualmachinenetworkconfig | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .spec.vmName | ||
name: VMNAME | ||
type: string | ||
- jsonPath: .status.conditions[?(@.type=='Allocated')].status | ||
name: ALLOCATED | ||
type: string | ||
- jsonPath: .metadata.creationTimestamp | ||
name: AGE | ||
type: date | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
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: | ||
properties: | ||
networkConfig: | ||
items: | ||
properties: | ||
ipAddress: | ||
type: string | ||
macAddress: | ||
type: string | ||
networkName: | ||
type: string | ||
type: object | ||
type: array | ||
paused: | ||
type: boolean | ||
vmName: | ||
type: string | ||
type: object | ||
status: | ||
properties: | ||
conditions: | ||
items: | ||
properties: | ||
lastTransitionTime: | ||
description: Last time the condition transitioned from one status | ||
to another. | ||
type: string | ||
lastUpdateTime: | ||
description: The last time this condition was updated. | ||
type: string | ||
message: | ||
description: Human-readable message indicating details about | ||
last transition | ||
type: string | ||
reason: | ||
description: The reason for the condition's last transition. | ||
type: string | ||
status: | ||
description: Status of the condition, one of True, False, Unknown. | ||
type: string | ||
type: | ||
description: Type of cluster condition. | ||
type: string | ||
required: | ||
- status | ||
- type | ||
type: object | ||
type: array | ||
networkConfig: | ||
items: | ||
properties: | ||
allocatedIPAddress: | ||
type: string | ||
macAddress: | ||
type: string | ||
networkName: | ||
type: string | ||
state: | ||
type: string | ||
type: object | ||
type: array | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The harvester-vm-dhcp-controller has been installed into "{{ .Release.Namespace }}" namespace. |
Oops, something went wrong.