84 lines
2.7 KiB
YAML
84 lines
2.7 KiB
YAML
{{- if .Values.createCrds -}}
|
|
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
name: exitnodes.chisel-operator.io
|
|
spec:
|
|
group: chisel-operator.io
|
|
names:
|
|
categories: []
|
|
kind: ExitNode
|
|
plural: exitnodes
|
|
shortNames: []
|
|
singular: exitnode
|
|
scope: Namespaced
|
|
versions:
|
|
- additionalPrinterColumns: []
|
|
name: v1
|
|
schema:
|
|
openAPIV3Schema:
|
|
description: Auto-generated derived type for ExitNodeSpec via `CustomResource`
|
|
properties:
|
|
spec:
|
|
description: ExitNode is a custom resource that represents a Chisel exit node. It will be used as the reverse proxy for all services in the cluster.
|
|
properties:
|
|
auth:
|
|
description: Optional authentication secret name to connect to the control plane
|
|
nullable: true
|
|
type: string
|
|
chisel_image:
|
|
description: Optional value for the chisel client image used to connect to the chisel server If not provided, jpillora/chisel:latest is used
|
|
nullable: true
|
|
type: string
|
|
default_route:
|
|
default: false
|
|
description: Optional boolean value for whether to make the exit node the default route for the cluster If true, the exit node will be the default route for the cluster default value is false
|
|
type: boolean
|
|
external_host:
|
|
description: Optional real external hostname/IP of exit node If not provided, the host field will be used
|
|
nullable: true
|
|
type: string
|
|
fingerprint:
|
|
description: Optional but highly recommended fingerprint to perform host-key validation against the server's public key
|
|
nullable: true
|
|
type: string
|
|
host:
|
|
description: Hostname or IP address of the chisel server
|
|
type: string
|
|
port:
|
|
description: Control plane port of the chisel server
|
|
format: uint16
|
|
minimum: 0.0
|
|
type: integer
|
|
required:
|
|
- host
|
|
- port
|
|
type: object
|
|
status:
|
|
nullable: true
|
|
properties:
|
|
id:
|
|
nullable: true
|
|
type: string
|
|
ip:
|
|
type: string
|
|
name:
|
|
type: string
|
|
provider:
|
|
type: string
|
|
required:
|
|
- ip
|
|
- name
|
|
- provider
|
|
type: object
|
|
required:
|
|
- spec
|
|
title: ExitNode
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
subresources:
|
|
status: {}
|
|
|
|
{{- end -}} |