Browse Source

First version with Rancher questions form

master
Fábio Kaiser Rauber 4 years ago
parent
commit
6571a89134
  1. 14
      charts/nsx-ncp-operator/v0.1.0/app-readme.md
  2. 35
      charts/nsx-ncp-operator/v0.1.0/questions.yaml
  3. 8
      charts/nsx-ncp-operator/v0.1.0/templates/configmap.yaml
  4. 9
      charts/nsx-ncp-operator/v0.1.0/values.yaml

14
charts/nsx-ncp-operator/v0.1.0/app-readme.md

@ -0,0 +1,14 @@
# NSX Container Plugin Operator Chart
This chart installs VMWare [NSX Container Plugin Operator](https://github.com/vmware/nsx-container-plugin-operator).
An operator for leveraging NSX as the default container networking solution for an Kubernetes/Openshift cluster. The operator will be deployed in the early phases of Openshift cluster deployment or after the kubectl is ready in Kubernetes cluster, and it will take care of deploying NSX integration components, and precisely:
The NSX container plugin (NCP) deployment
The nsx-ncp-bootstrap daemonset
The nsx-node-agent daemonset
The nsx-container-plugin operator monitors a dedicated ConfigMap, applies changes to NCP and nsx-node-agent configuration, and creates/restarts the relevant pods so that the relevant configuration changes are picked up.
The nsx-container-plugin operator also monitors the nsx-node-agent status and updates the network status on relevant nodes.
In addition, the nsx-container-plugin operator is able to monitor nodes ensuring the corresponding NSX logical port is enabled as a container host logical port.

35
charts/nsx-ncp-operator/v0.1.0/questions.yaml

@ -0,0 +1,35 @@
labels:
io.cattle.role: project
categories:
- CNI
questions:
- variable: ncp.vc.endpoint
default: ""
description: "VCenter Server Endpoint"
label: "VCenter URL"
type: string
group: VCenter
required: true
- variable: ncp.vc.sso_domain
default: "vsphere.local"
description: "VCenter Single Sign-on Domain"
label: "VCenter SSO Domain"
type: string
group: VCenter
required: true
- variable: ncp.vc.https_port
default: 443
description: "VCenter Server Endpoint HTTPS Port"
label: "HTTPS Port"
type: int
group: VCenter
required: true
- variable: ncp.coe.cluster
default: "k8scl-one"
description: "Kubernetes cluster name for vSphere"
label: "Cluster name"
type: string
group: Cluster
required: true

8
charts/nsx-ncp-operator/v0.1.0/templates/configmap.yaml

@ -10,13 +10,13 @@ data:
[vc]
# IpAddress or Hostname of VC
#vc_endpoint = <None>
vc_endpoint = {{ .Values.ncp.vc.endpoint }}
# The SSO domain associated with the deployment
#sso_domain = vsphere.local
sso_domain = {{ .Values.ncp.vc.sso_domain }}
# VC API server HTTPS port.
#https_port = 443
https_port = {{ .Values.ncp.vc.https_port }}
[coe]
@ -25,7 +25,7 @@ data:
adaptor = kubernetes
# Specify cluster for adaptor.
cluster = k8scl-one
cluster = {{ .Values.ncp.coe.cluster }}
# Log level for NCP operations
# Choices: NOTSET DEBUG INFO WARNING ERROR CRITICAL

9
charts/nsx-ncp-operator/v0.1.0/values.yaml

@ -12,6 +12,15 @@ imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
ncp:
vc:
endpoint: ""
sso_domain: "vsphere.local"
https_port: 443
coe:
cluster: "k8scl-one"
serviceAccount:
# Specifies whether a service account should be created
create: true

Loading…
Cancel
Save