-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Update deployment CRDs to include new ExitNodeProvisioner
- Loading branch information
Showing
3 changed files
with
68 additions
and
3 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,64 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: exitnodeprovisioners.chisel-operator.io | ||
spec: | ||
group: chisel-operator.io | ||
names: | ||
categories: [] | ||
kind: ExitNodeProvisioner | ||
plural: exitnodeprovisioners | ||
shortNames: [] | ||
singular: exitnodeprovisioner | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: [] | ||
name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: Auto-generated derived type for ExitNodeProvisionerSpec via `CustomResource` | ||
properties: | ||
spec: | ||
description: ExitNodeProvisioner is a custom resource that represents a Chisel exit node provisioner on a cloud provider. | ||
oneOf: | ||
- required: | ||
- DigitalOcean | ||
- required: | ||
- Linode | ||
- required: | ||
- AWS | ||
properties: | ||
AWS: | ||
properties: | ||
auth: | ||
type: string | ||
required: | ||
- auth | ||
type: object | ||
DigitalOcean: | ||
properties: | ||
auth: | ||
description: Reference to a secret containing the DigitalOcean API token, under the token key | ||
type: string | ||
region: | ||
description: Region ID of the DigitalOcean datacenter to provision the exit node in | ||
type: string | ||
required: | ||
- auth | ||
- region | ||
type: object | ||
Linode: | ||
properties: | ||
auth: | ||
type: string | ||
required: | ||
- auth | ||
type: object | ||
type: object | ||
required: | ||
- spec | ||
title: ExitNodeProvisioner | ||
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
resources: | ||
- exit-node.yaml | ||
|
||
- exit-node-provisioner.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