Public Information
This commit is contained in:
11
charts/pipeliner/Chart.yaml
Normal file
11
charts/pipeliner/Chart.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v2
|
||||
name: nplus-component-pipeliner
|
||||
description: nscale Pipeliner, the mass import / export tool of nscale
|
||||
icon: data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJFYmVuZV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgNTEuMDI0IDUxLjAyNCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgNTEuMDI0IDUxLjAyNCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBvbHlnb24gZmlsbD0iI0E0QkZFNCIgcG9pbnRzPSIzMi4zMjIsMTkuNzQ0IDIwLjY0OSwxOS43NDQgMTguNTkxLDMxLjQxNyAzMC4yNjQsMzEuNDE3IAkiLz4KCTxwb2x5Z29uIGZpbGw9IiNBNEJGRTQiIHBvaW50cz0iNDcuMTg1LDE5Ljc0NCAzNS41MTIsMTkuNzQ0IDMzLjQ1NCwzMS40MTcgNDUuMTI2LDMxLjQxNyAJIi8+Cgk8cG9seWdvbiBmaWxsPSIjQTRCRkU0IiBwb2ludHM9IjI5Ljc2NiwzNC41NTEgMTguMDk0LDM0LjU1MSAxNi4wMzUsNDYuMjI0IDI3LjcwOCw0Ni4yMjQgCSIvPgoJPHBvbHlnb24gZmlsbD0iI0E0QkZFNCIgcG9pbnRzPSIxNy41NywxOS43NDQgNS44OTcsMTkuNzQ0IDMuODM5LDMxLjQxNyAxNS41MTIsMzEuNDE3IAkiLz4KCTxwb2x5Z29uIGZpbGw9IiNBNEJGRTQiIHBvaW50cz0iMzUuMTUsNC43OTkgMjMuNDc3LDQuNzk5IDIxLjQxOSwxNi40NzIgMzMuMDkyLDE2LjQ3MiAJIi8+Cjwvc3ZnPgo=
|
||||
type: application
|
||||
dependencies:
|
||||
- name: nplus-globals
|
||||
alias: globals
|
||||
version: "*-0"
|
||||
repository: "file://../globals"
|
||||
version: 1.0.0
|
||||
171
charts/pipeliner/README.md
Normal file
171
charts/pipeliner/README.md
Normal file
@@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
# nplus-component-pipeliner
|
||||
|
||||
nscale Pipeliner, the mass import / export tool of nscale
|
||||
|
||||
## nplus-component-pipeliner Chart Configuration
|
||||
|
||||
You can customize / configure nplus-component-pipeliner by setting configuration values on the command line or in values files,
|
||||
that you can pass to helm. Please see the samples directory for details.
|
||||
|
||||
In case there is no value set, the key will not be used in the manifest, resulting in values taken from the config files of the component.
|
||||
|
||||
### Template Functions
|
||||
|
||||
You can use template functions in the values files. If you do so, make sure you quote correctly (single quotes, if you have double quotes in the template,
|
||||
or escaped quotes).
|
||||
|
||||
### Global Values
|
||||
|
||||
All values can be set per component, per instance or globally per environment.
|
||||
|
||||
Example: `global.ingress.domain` sets the domain on instance level. You can still set a different domain on a component, such as administrator.
|
||||
In that case, simply set `ingress.domain` for the administrator chart and that setting will have priority:
|
||||
|
||||
- Prio 1 - Component Level: `ingress.domain`
|
||||
- Prio 2 - Instance Level: `global.ingress.domain`
|
||||
- Prio 3 - Environment Level: `global.environment.ingress.domain`
|
||||
|
||||
### Using Values in Templates
|
||||
|
||||
As it would be a lot of typing to write `.Values.ingress.domain | default .Values.global.ingress.domain | default .Values.global.environment.ingress.domain`in your
|
||||
template code, this is automatically done by nplus. You can simply type `.this.ingress.domain` and you will get a condensed and defaulted version
|
||||
of your Values.
|
||||
|
||||
So an example in your `values.yaml` would be:
|
||||
|
||||
```
|
||||
administrator:
|
||||
waitFor:
|
||||
- '-service {{ .component.prefix }}nappljobs.{{ .Release.Namespace }}.svc.cluster.local:\{{ .this.nappl.port }} -timeout 600'
|
||||
```
|
||||
|
||||
This example shows `.this.nappl.port` which might come from a component, instance or global setting. You do not need to care.
|
||||
The `.Release.Namespace` is set by helm. You have access to all Release and Chart Metadata, just like in your chart code.
|
||||
|
||||
The `.component.prefix` is calculated by nplus and gives you some handy shortcuts to internal variables:
|
||||
|
||||
- `.component.chartName`
|
||||
The name of the chart as in `.Chart.Name`, but with override by `.Values.nameOverride`
|
||||
- `.component.shortChartName`
|
||||
A shorter Version of the name - `nappl` instead of `nplus-component-nappl`
|
||||
- `.component.prefix`
|
||||
The instance Prefix used to name the resources including `-`. This prefix is dropped, if the
|
||||
`.Release.Name` equals `.Release.Namespace` for those of you that only
|
||||
run one nplus Instance per namespace
|
||||
- `.component.name`
|
||||
The name of the component, including `.Values.nameOverride` and some logic
|
||||
- `.component.fullName`
|
||||
The fullName inlcuding `.Values.fullnameOverride` and some logic
|
||||
- `.component.chart`
|
||||
Mainly the `Chart.Name` and `Chart.Version`
|
||||
- `.component.storagePath`
|
||||
The path where the component config is stored in the conf PVC
|
||||
- `.component.handler`
|
||||
The handler (either helm, argoCD or manual)
|
||||
|
||||
- `.instance.name`
|
||||
The name of the instance, but with override by `.Values.instanceOverride`
|
||||
- `.instance.group`
|
||||
The group, this instance belongs to. Override by `.Values.groupOverride`
|
||||
- `.instance.version`
|
||||
The *nscale* version (mostly taken from Application Layer), this instance is deploying.
|
||||
|
||||
- `.environment.name`
|
||||
The name of the environment, but with override by `.Values.environmentNameOverride`
|
||||
|
||||
### Keys
|
||||
|
||||
You can set any of the following values for this component:
|
||||
|
||||
| Key | Description | Default |
|
||||
|-----|-------------|---------|
|
||||
**dav**​.account | the dav user | `"pipeliner"` |
|
||||
**dav**​.image​.pullPolicy | the DAV server image pull policy | `"IfNotPresent"` |
|
||||
**dav**​.password | password of the dav user | `"pipeliner"` |
|
||||
**dav**​.secret | Alternatively, define a secret | |
|
||||
env | Sets additional environment variables for the configuration. | |
|
||||
envMap | Sets the name of a configMap, which holds additional environment variables for the configuration. It is added as envFrom configMap to the container. | |
|
||||
envSecret | Sets the name of a secret, which holds additional environment variables for the configuration. It is added as envFrom secretRef to the container. | |
|
||||
fullnameOverride | This overrides the output of the internal fullname function | |
|
||||
**image**​.name | the name of the image to use | `"pipeliner"` |
|
||||
**image**​.pullSecrets | you can provide your own pullSecrets, in case you use a private repo. | `["nscale-cr", "nplus-cr"]` |
|
||||
**image**​.repo | if you use a private repo, feel free to set it here | `"ceyoniq.azurecr.io/release/nscale"` |
|
||||
**image**​.tag | the tag of the image to use | `"latest"` |
|
||||
**ingress**​.annotations | Adds extra Annotations to the ingress | |
|
||||
**ingress**​.backendProtocol | Overrides the default backend protocol. The default is http, unless in zeroTrust Mode, then it is switched to https automatically. | `http` <br> `https` in zero trust mode |
|
||||
**ingress**​.class | The ingressclass to use for this ingress. Most likely, this is provided globally by the instance, but you are free to override it here if this component should use a different class e.g. if you have separated ingress controllers, like a public and an internal one | `public` |
|
||||
**ingress**​.contextPath | The default service context path for this ingress. Some components allow to change this (e.g. SharePoint), for the most though this is only a constant used in the scripts. | `"/{{ .component.name }}"` |
|
||||
**ingress**​.cookie | on component level, set cookie affinity for the ingress example: `XtConLoadBalancerSession` for nscale Web | |
|
||||
**ingress**​.deny | deny is used to exclude specific paths from public access, such as administrative paths. For Example, in nappl, webc ist the hessian protocol, webb is the burlap protocol. The configuration service is the endpoint used by the Admin client. | |
|
||||
**ingress**​.domain | Sets the domain to be used. This domain should be provided by the instance globally for all components, but you are free to override it here | |
|
||||
**ingress**​.enabled | You can toggle the ingress on wether you'd like this component to be reachable through an ingress or not. | `true` |
|
||||
**ingress**​.namespace | Specify the namespace in which the ingress controller runs. This sets the firewall rule / networkPolicy to allow traffic from this namespace to our pods. This may be a comma separated list | "ingress, kube-system, ingress-nginx" |
|
||||
**ingress**​.proxyReadTimeout | Sets the annotation `nginx.ingress.kubernetes.io/proxy-read-timeout` on the ingress object, if set. | |
|
||||
**ingress**​.secret | Sets the name of the tls secret to be used for this ingress, that contains the private and public key. These secrets can optionally be provided by the instance | `{{ .this.ingress.domain }}-tls` |
|
||||
**ingress**​.whitelist | optionally sets a whitelist of ip ranges (CIDR format, comma separated) from which ingress is allowed. This is an annotation for nginx, so won't work with other ingress controllers | |
|
||||
**meta**​.language | Sets the language of the main service (in the *service* container). This is used for instance if you turn OpenTelemetry on, to know which Agent to inject into the container. | `"cpp"` |
|
||||
**meta**​.ports​.http | The http port this component uses (if any). In zero trust mode, this will be disabled. <br>this is a constant value of the component and should not be changed. | **info only**, do not change<br> `8080` |
|
||||
**meta**​.ports​.tcp | A potential tcp port, this component uses (if any) <br>this is a constant value of the component and should not be changed. | **info only**, do not change<br> `4173` |
|
||||
**meta**​.provider | sets provider (partner, reseller) information to be able to invoice per use in a cloud environment | |
|
||||
**meta**​.serviceContainer | The container name of the main service for this component. This is used to define where to inject the telemetry agents, if any | `"pipeliner"` |
|
||||
**meta**​.stage | A optional parameter to indicate the stage (DEV, QA, PROD, ...) this component, instance or environment runs in. This can be used in template functions to add the stage to for instance the service name of telemetry services like open telemetry. (see telemetry example) | |
|
||||
**meta**​.tenant | sets tenant information to be able to invoice per use in a cloud environment | |
|
||||
**meta**​.type | the type of the component. You should not change this value, except if you use a pipeliner in core mode. In core mode, it should be *core*, else *pipeliner* This type is used to create cluster communication for nappl and nstl and potentially group multiple replicaSets into one service. | `"pipeliner"` |
|
||||
**meta**​.wave | Sets the wave in which this component should be deployed within an ArgoCD deployment if unset, it uses the default wave thus all components are installed in one wave, then relying on correct wait settings just like in a helm installation | |
|
||||
minReplicaCountType | if you set minReplicaCountType, a podDesruptionBudget will be created with this value as minAvailable, using the component type as selector. This is useful for components, that are spread across multiple replicaSets, like sharepoint or storage layer | |
|
||||
**mounts**​.caCerts​.configMap | Alternative 2: the name of the configMap to use. The Key has to be the File Name used in the path setting | |
|
||||
**mounts**​.caCerts​.secret | Alternative 1: the name of the secret to use. The Key has to be the File Name used in the path setting | |
|
||||
**mounts**​.componentCerts​.configMap | Alternative 2: the name of the configMap to use. The Key has to be the File Name used in the path setting | |
|
||||
**mounts**​.componentCerts​.secret | Alternative 1: the name of the secret to use. The Key has to be the File Name used in the path setting | |
|
||||
**mounts**​.conf​.path | Sets the path to the conf files <br>do not change this value | **info only**, do not change<br> `"/opt/ceyoniq/nscale-pipeliner/workdir"` |
|
||||
**mounts**​.data​.class | Sets the class of the data disk | |
|
||||
**mounts**​.data​.paths | Sets a list of paths to the data files <br>do not change this value | **info only**, do not change<br> `["/opt/ceyoniq/nscale-pipeliner/workdir/data"]` |
|
||||
**mounts**​.data​.size | Sets the size of the data disk | `"10Gi"` |
|
||||
**mounts**​.data​.volumeName | If you do not want to have a Volume created by the provisioner, you can set the name of your volume here to attach to this pre-existing one | |
|
||||
**mounts**​.defaultConfig | Sets a configMap with default configuration files that get copied to a new and empty container just before the template folder gets copied. Existing files are not overwritten. | `"{{ .component.fullName }}-defaultconfig"` |
|
||||
**mounts**​.disk​.class | Sets the class of the disk | |
|
||||
**mounts**​.disk​.enabled | enables the use of the second data disk. If enabled, all paths defined will end up on this disk. In case of the (default) disabled, the paths will be added to the primaty data disk. | `false` |
|
||||
**mounts**​.disk​.migration | Enables the migration init container. This will copy the data in paths from the primary data disk to the newly enabled secondary disk. This is done only once and only if there is legacy data at all. No files are overwritten! | `false` |
|
||||
**mounts**​.disk​.size | Sets the size of the disk | |
|
||||
**mounts**​.disk​.volumeName | If you do not want to have a Volume created by the provisioner, you can set the name of your volume here to attach to this pre-existing one | |
|
||||
**mounts**​.file​.class | Sets the class of the shared disk | |
|
||||
**mounts**​.file​.size | Sets the size of the shared disk | |
|
||||
**mounts**​.file​.volumeName | If you do not want to have a Volume created by the provisioner, you can set the name of your volume here to attach to this pre-existing one | |
|
||||
**mounts**​.generic | Allows to define generic mounts of pre-provisioned PVs into any container. This can be used e.g. to mount migration nfs, cifs / samba shares into a pipeliner container. | |
|
||||
**mounts**​.license​.path | Sets the path to the license files <br>do not change this value | **info only**, do not change<br> `"/opt/ceyoniq/nscale-pipeliner/workdir/license.xml"` |
|
||||
**mounts**​.logs​.path | Sets the path to the log files <br>do not change this value | **info only**, do not change<br> `"/opt/ceyoniq/nscale-pipeliner/workdir/log"` |
|
||||
**mounts**​.logs​.size | Sets the size of the log disk (all paths) | |
|
||||
**mounts**​.temp​.size | Sets the size of the temporary disk (all paths) | |
|
||||
nameOverride | This overrides the output of the internal name function | |
|
||||
nodeSelector | select specific nodes for this component | |
|
||||
replicaCount | Default ReplicaCount is 0 as the pipeliner requires a working cold.xml | `0` |
|
||||
**resources**​.limits​.cpu | The maximum allowed CPU for the container | |
|
||||
**resources**​.limits​.memory | The maximum allowed RAM for the container | |
|
||||
**resources**​.requests​.cpu | Set the share of guaranteed CPU to the container. | |
|
||||
**resources**​.requests​.memory | Set the share of guaranteed RAM to the container | |
|
||||
**security**​.containerSecurityContext​.allowPrivilegeEscalation | Some functionality may need the possibility to allow privilege escalation. This should be very restrictive <br>you should not change this | **info only**, do not change<br> `false` |
|
||||
**security**​.containerSecurityContext​.readOnlyRootFilesystem | sets the container root file system to read only. This should be the case in production environment <br>you should not change this | **info only**, do not change<br> `true` |
|
||||
**security**​.podSecurityContext​.fsGroup | The file system group as which new files are created <br>there is normally no need to change this | **info only**, do not change<br> `1001` |
|
||||
**security**​.podSecurityContext​.fsGroupChangePolicy | Under which condition should the fsGroup be changed <br>there is normally no need to change this | **info only**, do not change<br> `"OnRootMismatch"` |
|
||||
**security**​.podSecurityContext​.runAsUser | The user under which the container ist run. Avoid 0 / root. The container should run in a non-root context for security <br>there is normally no need to change this | **info only**, do not change<br> `1001` |
|
||||
**security**​.zeroTrust | turns on *Zero Trust* Mode, disabling *all* http communication, even the internal http probes | `false` |
|
||||
**service**​.annotations | adds extra Annotations to the service | |
|
||||
**service**​.enabled | enables the service to be consumed by group components and a potential ingress Disabling the service also disables the ingress. | `true` |
|
||||
**service**​.selector | The selector can be `component` or `type` *component* selects only pods that are in the replicaset. *type* selects any pod that has the given type | `"component"` |
|
||||
**telemetry**​.openTelemetry | turns Open Telemetry on | |
|
||||
**telemetry**​.serviceName | Sets the service name for the telemetry service to more convenient identify the displayed component Example: "{{ .this.meta.type }}-{{ .instance.name }}" | |
|
||||
**template**​.annotations | set additional annotations for pods | |
|
||||
**template**​.labels | set additional labels for pods | |
|
||||
terminationGracePeriodSeconds | Sets the terminationGracePeriodSeconds for the component If not set, it uses the Kubernetes defaults | |
|
||||
timezone | set the time zone for this component to make sure log output has a specific timestamp, internal dates and times are correct (like the creationDate in nappl) etc. | `Europe/Berlin` |
|
||||
tolerations | Set tolerations for this component | |
|
||||
**utils**​.debug | Turn debugging *on* will give you stack trace etc. Please check out the Chart Developer Guide | `false` |
|
||||
**utils**​.disableWait | in case you use the argoCD Wave feature, you might think about switching off the waitFor mechanism, that makes sure PODs are only started after pre-requisites are fulfilled. You can disable the starndard wait mechanism, but at your own risk, as this might start components even if they are not intended to run yet. | `false` |
|
||||
**utils**​.disableWave | If you use argoCD, you most likely want to use the argo Wave Feature as well, making sure the components of an instance are deployed ordered. However, in DEV you might want to disable this to allow live changing components while previous waves are not finished yet. | `false` |
|
||||
**utils**​.includeNamespace | By default, the namespace is rendered into the manifest. However, if you want to use `helm template` and store manifests for later applying them to multiple namespaces, you might want to turn this `false` to be able to use `kubectl apply -n <namespace> -f template.yaml` later | `true` |
|
||||
**utils**​.maintenance | in Maintenance Mode, all *waitFor* actions will be skipped, the *Health Checks* are ignored and the pods will start in idle, not starting the service at all. This will allow you to gain access to the container to perform recovery and maintenance tasks while having the real container up. | `false` |
|
||||
**utils**​.renderComments | You can turn Comment rendering *on* to get descriptive information inside the manifests. It will also fail on depricated functions and keys, so it is recommended to only switch it off in PROD | `true` |
|
||||
waitFor | Defines a list of conditions that need to be met before this components starts. The condition must be a network port that opens, when the master component is ready. Mostly, this will be a service, since a component is only added to a service if the probes succeed. | |
|
||||
|
||||
2
charts/pipeliner/templates/component.tpl
Normal file
2
charts/pipeliner/templates/component.tpl
Normal file
@@ -0,0 +1,2 @@
|
||||
{{- include "nplus.init" $ -}}
|
||||
{{- include "nplus.component" . -}}
|
||||
18
charts/pipeliner/templates/defaultconfig.tpl
Normal file
18
charts/pipeliner/templates/defaultconfig.tpl
Normal file
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ .component.fullName }}-defaultconfig
|
||||
{{- if .this.utils.includeNamespace }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "nplus.instanceLabels" . | nindent 4 }}
|
||||
annotations:
|
||||
{{- include "nplus.argoWave" . | nindent 4 }}
|
||||
{{- include "nplus.annotations" . | nindent 4 }}
|
||||
{{- include "nplus.securityAnnotations" . | nindent 4 }}
|
||||
data:
|
||||
{{- range $path, $bytes := .Files.Glob "defaultconfig/*" }}
|
||||
{{- base $path | nindent 2 }}: |
|
||||
{{- tpl ($.Files.Get $path) $ | nindent 4 }}
|
||||
{{- end }}
|
||||
16
charts/pipeliner/templates/ingress.tpl
Normal file
16
charts/pipeliner/templates/ingress.tpl
Normal file
@@ -0,0 +1,16 @@
|
||||
{{- include "nplus.init" $ -}}
|
||||
{{- if ( include "nplus.ingressEnabled" . ) }}
|
||||
{{- include "nplus.ingress" (list . .component.fullName) | nindent 0 }}
|
||||
- path: {{ .Values.ingress.contextPath }}
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ .component.fullName }}
|
||||
port:
|
||||
name: {{ .Values.ingress.backendProtocol | default "http" }}
|
||||
{{- else }}
|
||||
# kind: ingress
|
||||
# Not Generating any Ingress for {{ .component.fullName }} as
|
||||
# Ingress = {{ .this.ingress }}
|
||||
# Service = {{ .this.service }}
|
||||
{{- end }}
|
||||
69
charts/pipeliner/templates/networkpolicy.tpl
Normal file
69
charts/pipeliner/templates/networkpolicy.tpl
Normal file
@@ -0,0 +1,69 @@
|
||||
{{- include "nplus.init" $ -}}
|
||||
{{- if ((.this.security).cni).createNetworkPolicy }}
|
||||
kind: NetworkPolicy
|
||||
apiVersion: networking.k8s.io/v1
|
||||
metadata:
|
||||
name: {{ .component.fullName }}
|
||||
{{- if .this.utils.includeNamespace }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "nplus.instanceLabels" . | nindent 4 }}
|
||||
annotations:
|
||||
{{- include "nplus.argoWave" . | nindent 4 }}
|
||||
{{- include "nplus.annotations" . | nindent 4 }}
|
||||
{{- include "nplus.securityAnnotations" . | nindent 4 }}
|
||||
spec:
|
||||
podSelector:
|
||||
matchLabels:
|
||||
{{- include "nplus.selectorLabels" . | nindent 6 }}
|
||||
|
||||
policyTypes:
|
||||
- Ingress
|
||||
- Egress
|
||||
|
||||
ingress:
|
||||
|
||||
# This is for the WebDAV Service
|
||||
{{- if ( include "nplus.ingressEnabled" . ) }}
|
||||
{{- include "nplus.networkpolicy.allowFromIngress" . | nindent 2 }}
|
||||
{{- end }}
|
||||
|
||||
- from:
|
||||
# access from nappl core in the same instance to setup a cluster
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
nplus/group: {{ .instance.group }}
|
||||
nplus/type: core
|
||||
ports:
|
||||
{{- include "nplus.napplClusterPolicyPorts" . | nindent 4 }}
|
||||
|
||||
{{- include "nplus.networkpolicy.allowFromAdmin" . | nindent 2 }}
|
||||
{{- include "nplus.networkpolicy.allowFromMon" . | nindent 2 }}
|
||||
|
||||
|
||||
egress:
|
||||
- to:
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
nplus/group: {{ .instance.group }}
|
||||
nplus/type: database
|
||||
- to:
|
||||
# access to application-layer in the same instance to setup a cluster
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
nplus/group: {{ .instance.group }}
|
||||
nplus/type: core
|
||||
- to:
|
||||
# access to storage-layer in the same instance
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
nplus/group: {{ .instance.group }}
|
||||
nplus/type: nstl
|
||||
- to:
|
||||
# access to rendition-server in the same namespace
|
||||
- podSelector:
|
||||
matchLabels:
|
||||
nplus/group: {{ .instance.group }}
|
||||
nplus/type: rs
|
||||
{{- end }}
|
||||
2
charts/pipeliner/templates/pdb.tpl
Normal file
2
charts/pipeliner/templates/pdb.tpl
Normal file
@@ -0,0 +1,2 @@
|
||||
{{- include "nplus.init" $ -}}
|
||||
{{- include "nplus.podDisruptionBudget" . -}}
|
||||
1
charts/pipeliner/templates/pvc.tpl
Normal file
1
charts/pipeliner/templates/pvc.tpl
Normal file
@@ -0,0 +1 @@
|
||||
{{- include "nplus.pvc" . }}
|
||||
32
charts/pipeliner/templates/service.tpl
Normal file
32
charts/pipeliner/templates/service.tpl
Normal file
@@ -0,0 +1,32 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
{{- if .this.utils.includeNamespace }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- end }}
|
||||
name: {{ .component.fullName }}
|
||||
labels:
|
||||
{{- include "nplus.instanceLabels" . | nindent 4 }}
|
||||
annotations:
|
||||
{{- include "nplus.argoWave" . | nindent 4 }}
|
||||
{{- include "nplus.annotations" . | nindent 4 }}
|
||||
{{- include "nplus.securityAnnotations" . | nindent 4 }}
|
||||
{{- include "nplus.serviceAnnotations" . | nindent 4 }}
|
||||
spec:
|
||||
|
||||
# this is a "headless service", no cluster IP is defined
|
||||
# as none of the internal components need to access this service.
|
||||
# It is purely used to collect the EndPointSlices
|
||||
type: ClusterIP
|
||||
clusterIP: None
|
||||
ports:
|
||||
{{- include "nplus.defaultServicePorts" . | nindent 4 }}
|
||||
selector:
|
||||
{{- if eq .this.service.selector "component" }}
|
||||
{{- include "nplus.selectorLabels" . | nindent 4 }}
|
||||
{{- else if eq .this.service.selector "type" }}
|
||||
{{- include "nplus.selectorLabelsNc" . | nindent 4 }}
|
||||
{{- else }}
|
||||
{{- fail (printf "Unknown Service Selector Type: %s - must be component or type" .this.service.selector) }}
|
||||
{{- end }}
|
||||
|
||||
134
charts/pipeliner/templates/statefulset.tpl
Normal file
134
charts/pipeliner/templates/statefulset.tpl
Normal file
@@ -0,0 +1,134 @@
|
||||
{{- include "nplus.init" $ -}}
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: {{ .component.fullName }}
|
||||
{{- if .this.utils.includeNamespace }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "nplus.instanceLabels" . | nindent 4 }}
|
||||
annotations:
|
||||
{{- include "nplus.argoWave" . | nindent 4 }}
|
||||
{{- include "nplus.annotations" . | nindent 4 }}
|
||||
{{- include "nplus.securityAnnotations" . | nindent 4 }}
|
||||
spec:
|
||||
serviceName: {{ .component.fullName }}
|
||||
selector:
|
||||
matchLabels:
|
||||
{{- include "nplus.selectorLabels" . | nindent 6 }}
|
||||
replicas: {{ .Values.replicaCount }}
|
||||
podManagementPolicy: OrderedReady
|
||||
updateStrategy:
|
||||
type: {{ .Values.updateStrategy | default "OnDelete" }}
|
||||
minReadySeconds: 5
|
||||
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
{{- include "nplus.templateLabels" . | nindent 8 }}
|
||||
annotations:
|
||||
{{- include "nplus.templateAnnotations" . | nindent 8 }}
|
||||
{{- include "nplus.securityAnnotations" . | nindent 8 }}
|
||||
spec:
|
||||
{{- include "nplus.imagePullSecrets" . | nindent 6 }}
|
||||
{{- include "nplus.podSecurityContext" . | nindent 6 }}
|
||||
{{- include "nplus.securityIllumioReadinessGates" . | nindent 6 }}
|
||||
{{- include "nplus.terminationGracePeriodSeconds" . | nindent 6 }}
|
||||
|
||||
initContainers:
|
||||
{{- include "nplus.waitFor" . | nindent 6 }}
|
||||
{{- include "nplus.copyConfig" . | nindent 6 }}
|
||||
|
||||
containers:
|
||||
- name: pipeliner
|
||||
image: {{ include "nplus.image" (dict "global" .Values.global "image" .Values.image) }}
|
||||
imagePullPolicy: {{ include "nplus.imagePullPolicy" .Values.image }}
|
||||
{{- include "nplus.containerSecurityContext" . | nindent 8 }}
|
||||
env:
|
||||
{{- include "nplus.environment" . | nindent 8 }}
|
||||
|
||||
{{- if .this.utils.maintenance }}
|
||||
{{- include "nplus.idle" . | nindent 8 }}
|
||||
{{- else }}
|
||||
startupProbe:
|
||||
exec:
|
||||
command:
|
||||
- "java"
|
||||
- "-jar"
|
||||
- "/opt/ceyoniq/nscale-pipeliner/javalibs/PipelinerCheck.jar"
|
||||
- "localhost"
|
||||
- "4173"
|
||||
initialDelaySeconds: 10
|
||||
failureThreshold: 12
|
||||
periodSeconds: 10
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- "java"
|
||||
- "-jar"
|
||||
- "/opt/ceyoniq/nscale-pipeliner/javalibs/PipelinerCheck.jar"
|
||||
- "localhost"
|
||||
- "4173"
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 3
|
||||
# -- Ceyoniq does currently not define an *official* livenessProbe, so we use
|
||||
# one that quickly checks the main socket on Layer 4.
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: tcp
|
||||
# initialDelaySeconds: 20
|
||||
periodSeconds: 10
|
||||
{{- end }}
|
||||
|
||||
ports:
|
||||
- containerPort: {{ required "Pipeliner tcp port must be set" ((.this.meta).ports).tcp }}
|
||||
name: tcp
|
||||
|
||||
{{- include "nplus.resources" . | nindent 8 }}
|
||||
|
||||
volumeMounts:
|
||||
{{- include "nplus.defaultMounts" . | nindent 8 }}
|
||||
|
||||
{{- if .Values.dav }}
|
||||
- name: {{ .Release.Namespace }}-nplus-webdav-container
|
||||
image: {{ include "nplus.image" (dict "global" .Values.global "image" .Values.dav.image) }}
|
||||
imagePullPolicy: {{ include "nplus.imagePullPolicy" .Values.dav.image }}
|
||||
{{- include "nplus.containerSecurityContext" . | nindent 8 }}
|
||||
{{- include "nplus.sidecarResources" . | nindent 8 }}
|
||||
|
||||
command: [ "/nplus/davserver" ]
|
||||
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: "/webdav"
|
||||
subPath: {{ .component.storagePath | quote }}
|
||||
|
||||
env:
|
||||
# -- DAV Connection Credentials
|
||||
{{- include "nplus.envCredentials" (list
|
||||
"DAV_USER" ($.this.dav).account
|
||||
"DAV_PASSWORD" ($.this.dav).password
|
||||
($.this.dav).secret
|
||||
) | nindent 10 }}
|
||||
|
||||
- name: DAV_ROOT
|
||||
value: "/{{ .component.name }}"
|
||||
|
||||
ports:
|
||||
{{- if not (.this.security).zeroTrust }}
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
{{- end }}
|
||||
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: 8080
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 10
|
||||
|
||||
{{- end }}
|
||||
|
||||
volumes:
|
||||
{{- include "nplus.defaultVolumes" . | nindent 6 }}
|
||||
|
||||
815
charts/pipeliner/values.schema.json
Normal file
815
charts/pipeliner/values.schema.json
Normal file
@@ -0,0 +1,815 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"dav": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"account": {
|
||||
"default": "pipeliner",
|
||||
"description": "the dav user",
|
||||
"title": "account"
|
||||
},
|
||||
"image": {
|
||||
"additionalProperties": false,
|
||||
"description": "the Image to use for the DAV server",
|
||||
"properties": {
|
||||
"name": {
|
||||
"default": "toolbox2",
|
||||
"title": "name",
|
||||
"type": "string"
|
||||
},
|
||||
"pullPolicy": {
|
||||
"default": "IfNotPresent",
|
||||
"description": "the DAV server image pull policy",
|
||||
"title": "pullPolicy"
|
||||
},
|
||||
"repo": {
|
||||
"default": "cr.nplus.cloud/subscription",
|
||||
"title": "repo",
|
||||
"type": "string"
|
||||
},
|
||||
"tag": {
|
||||
"default": "1.2.1300",
|
||||
"title": "tag",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"title": "image"
|
||||
},
|
||||
"password": {
|
||||
"default": "pipeliner",
|
||||
"description": "password of the dav user",
|
||||
"title": "password"
|
||||
},
|
||||
"secret": {
|
||||
"default": "",
|
||||
"description": "Alternatively, define a secret",
|
||||
"title": "secret"
|
||||
}
|
||||
},
|
||||
"title": "dav",
|
||||
"type": "object"
|
||||
},
|
||||
"env": {
|
||||
"default": "",
|
||||
"description": "Sets additional environment variables for the configuration.",
|
||||
"title": "env"
|
||||
},
|
||||
"envMap": {
|
||||
"default": "",
|
||||
"description": "Sets the name of a configMap, which holds additional environment variables for the configuration. It is added as envFrom configMap to the container.",
|
||||
"title": "envMap"
|
||||
},
|
||||
"envSecret": {
|
||||
"default": "",
|
||||
"description": "Sets the name of a secret, which holds additional environment variables for the configuration. It is added as envFrom secretRef to the container.",
|
||||
"title": "envSecret"
|
||||
},
|
||||
"fullnameOverride": {
|
||||
"default": "",
|
||||
"description": "This overrides the output of the internal fullname function",
|
||||
"title": "fullnameOverride"
|
||||
},
|
||||
"global": {
|
||||
"description": "Global values are values that can be accessed from any chart or subchart by exactly the same name.",
|
||||
"title": "global",
|
||||
"type": "object"
|
||||
},
|
||||
"globals": {
|
||||
"description": "nplus Global Functions Library Chart",
|
||||
"properties": {
|
||||
"global": {
|
||||
"description": "Global values are values that can be accessed from any chart or subchart by exactly the same name.",
|
||||
"title": "global",
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"title": "nplus-globals",
|
||||
"type": "object"
|
||||
},
|
||||
"image": {
|
||||
"additionalProperties": false,
|
||||
"description": "provide the image to be used for this component",
|
||||
"properties": {
|
||||
"name": {
|
||||
"default": "pipeliner",
|
||||
"description": "the name of the image to use",
|
||||
"title": "name"
|
||||
},
|
||||
"pullSecrets": {
|
||||
"description": "you can provide your own pullSecrets, in case you use a private repo.",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"title": "pullSecrets"
|
||||
},
|
||||
"repo": {
|
||||
"default": "ceyoniq.azurecr.io/release/nscale",
|
||||
"description": "if you use a private repo, feel free to set it here",
|
||||
"title": "repo"
|
||||
},
|
||||
"tag": {
|
||||
"default": "ubi.9.3.1300.2024121815",
|
||||
"description": "the tag of the image to use",
|
||||
"title": "tag"
|
||||
}
|
||||
},
|
||||
"title": "image"
|
||||
},
|
||||
"ingress": {
|
||||
"additionalProperties": false,
|
||||
"description": "Ingress defines wether this component is reachable via an ingress controller, Layer 7, through http(s)",
|
||||
"properties": {
|
||||
"annotations": {
|
||||
"default": "",
|
||||
"description": "Adds extra Annotations to the ingress",
|
||||
"title": "annotations"
|
||||
},
|
||||
"backendProtocol": {
|
||||
"default": "`http` <br> `https` in zero trust mode",
|
||||
"description": "Overrides the default backend protocol. The default is http, unless in zeroTrust Mode, then it is switched to https automatically.",
|
||||
"title": "backendProtocol"
|
||||
},
|
||||
"class": {
|
||||
"default": "`public`",
|
||||
"description": "The ingressclass to use for this ingress. Most likely, this is provided globally by the instance, but you are free to override it here if this component should use a different class e.g. if you have separated ingress controllers, like a public and an internal one",
|
||||
"title": "class"
|
||||
},
|
||||
"contextPath": {
|
||||
"default": "/{{ .component.name }}",
|
||||
"description": "The default service context path for this ingress. Some components allow to change this (e.g. SharePoint), for the most though this is only a constant used in the scripts.",
|
||||
"title": "contextPath"
|
||||
},
|
||||
"cookie": {
|
||||
"default": "",
|
||||
"description": "on component level, set cookie affinity for the ingress example: `XtConLoadBalancerSession` for nscale Web",
|
||||
"title": "cookie"
|
||||
},
|
||||
"deny": {
|
||||
"default": "",
|
||||
"description": "deny is used to exclude specific paths from public access, such as administrative paths. For Example, in nappl, webc ist the hessian protocol, webb is the burlap protocol. The configuration service is the endpoint used by the Admin client.",
|
||||
"title": "deny"
|
||||
},
|
||||
"domain": {
|
||||
"default": "",
|
||||
"description": "Sets the domain to be used. This domain should be provided by the instance globally for all components, but you are free to override it here",
|
||||
"title": "domain"
|
||||
},
|
||||
"enabled": {
|
||||
"default": "true",
|
||||
"description": "You can toggle the ingress on wether you'd like this component to be reachable through an ingress or not.",
|
||||
"title": "enabled"
|
||||
},
|
||||
"inputPath": {
|
||||
"default": "",
|
||||
"description": "defines the path for a potential rewriting to `rewriteTarget`. Do not change unless you have a good reason Example: `/nscalealinst1(/\\|$)(.*)` @internal -- This is an alpha feature - do not use it.",
|
||||
"title": "inputPath"
|
||||
},
|
||||
"namespace": {
|
||||
"default": "\"ingress, kube-system, ingress-nginx\"",
|
||||
"description": "Specify the namespace in which the ingress controller runs. This sets the firewall rule / networkPolicy to allow traffic from this namespace to our pods. This may be a comma separated list",
|
||||
"title": "namespace"
|
||||
},
|
||||
"proxyReadTimeout": {
|
||||
"default": "",
|
||||
"description": "Sets the annotation `nginx.ingress.kubernetes.io/proxy-read-timeout` on the ingress object, if set.",
|
||||
"title": "proxyReadTimeout"
|
||||
},
|
||||
"rewriteTarget": {
|
||||
"default": "",
|
||||
"description": "defines a rewriteTarget for a potential retriting of `inputPath`. Do not change unless you have a good reason Example: `/nscalealinst1/$2` @internal -- This is an alpha feature - do not use it.",
|
||||
"title": "rewriteTarget"
|
||||
},
|
||||
"secret": {
|
||||
"default": "`{{ .this.ingress.domain }}-tls`",
|
||||
"description": "Sets the name of the tls secret to be used for this ingress, that contains the private and public key. These secrets can optionally be provided by the instance",
|
||||
"title": "secret"
|
||||
},
|
||||
"whitelist": {
|
||||
"default": "",
|
||||
"description": "optionally sets a whitelist of ip ranges (CIDR format, comma separated) from which ingress is allowed. This is an annotation for nginx, so won't work with other ingress controllers",
|
||||
"title": "whitelist"
|
||||
}
|
||||
},
|
||||
"title": "ingress"
|
||||
},
|
||||
"meta": {
|
||||
"additionalProperties": false,
|
||||
"description": "defines internal constants for nplus. do not change these values",
|
||||
"properties": {
|
||||
"componentVersion": {
|
||||
"default": "",
|
||||
"description": "This is the version of the component, used for display @internal -- set by devOps pipeline, so do not modify",
|
||||
"title": "componentVersion"
|
||||
},
|
||||
"language": {
|
||||
"default": "cpp",
|
||||
"description": "Sets the language of the main service (in the *service* container). This is used for instance if you turn OpenTelemetry on, to know which Agent to inject into the container.",
|
||||
"title": "language"
|
||||
},
|
||||
"ports": {
|
||||
"additionalProperties": false,
|
||||
"description": "lists the ports this component exposes. This is important for zero trust mode and others.",
|
||||
"properties": {
|
||||
"http": {
|
||||
"default": "8080",
|
||||
"description": "The http port this component uses (if any). In zero trust mode, this will be disabled. @internal -- this is a constant value of the component and should not be changed.",
|
||||
"title": "http"
|
||||
},
|
||||
"https": {
|
||||
"default": "",
|
||||
"description": "The tls / https port, this component uses (if any) @internal -- this is a constant value of the component and should not be changed.",
|
||||
"title": "https"
|
||||
},
|
||||
"rmi": {
|
||||
"default": "",
|
||||
"description": "A potential rmi port, this component uses (if any) @internal -- this is a constant value of the component and should not be changed.",
|
||||
"title": "rmi"
|
||||
},
|
||||
"tcp": {
|
||||
"default": "4173",
|
||||
"description": "A potential tcp port, this component uses (if any) @internal -- this is a constant value of the component and should not be changed.",
|
||||
"title": "tcp"
|
||||
},
|
||||
"tcps": {
|
||||
"default": "",
|
||||
"description": "A potential tls / tcps port, this component uses (if any) @internal -- this is a constant value of the component and should not be changed.",
|
||||
"title": "tcps"
|
||||
}
|
||||
},
|
||||
"title": "ports"
|
||||
},
|
||||
"provider": {
|
||||
"default": "",
|
||||
"description": "sets provider (partner, reseller) information to be able to invoice per use in a cloud environment",
|
||||
"title": "provider"
|
||||
},
|
||||
"serviceContainer": {
|
||||
"default": "pipeliner",
|
||||
"description": "The container name of the main service for this component. This is used to define where to inject the telemetry agents, if any",
|
||||
"title": "serviceContainer"
|
||||
},
|
||||
"stage": {
|
||||
"default": "",
|
||||
"description": "A optional parameter to indicate the stage (DEV, QA, PROD, ...) this component, instance or environment runs in. This can be used in template functions to add the stage to for instance the service name of telemetry services like open telemetry. (see telemetry example)",
|
||||
"title": "stage"
|
||||
},
|
||||
"tenant": {
|
||||
"default": "",
|
||||
"description": "sets tenant information to be able to invoice per use in a cloud environment",
|
||||
"title": "tenant"
|
||||
},
|
||||
"type": {
|
||||
"default": "pipeliner",
|
||||
"description": "the type of the component. You should not change this value, except if you use a pipeliner in core mode. In core mode, it should be *core*, else *pipeliner* This type is used to create cluster communication for nappl and nstl and potentially group multiple replicaSets into one service.",
|
||||
"title": "type"
|
||||
},
|
||||
"wave": {
|
||||
"default": "",
|
||||
"description": "Sets the wave in which this component should be deployed within an ArgoCD deployment if unset, it uses the default wave thus all components are installed in one wave, then relying on correct wait settings just like in a helm installation",
|
||||
"title": "wave"
|
||||
}
|
||||
},
|
||||
"title": "meta"
|
||||
},
|
||||
"minReplicaCountType": {
|
||||
"default": "",
|
||||
"description": "if you set minReplicaCountType, a podDesruptionBudget will be created with this value as minAvailable, using the component type as selector. This is useful for components, that are spread across multiple replicaSets, like sharepoint or storage layer",
|
||||
"title": "minReplicaCountType"
|
||||
},
|
||||
"mounts": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"caCerts": {
|
||||
"additionalProperties": false,
|
||||
"description": "You can add a file with trusted Root Certificates (e.g. Azure), to be able to connect to alien services via https. If you have a self-signed root certificate, you can also add it here.",
|
||||
"properties": {
|
||||
"configMap": {
|
||||
"default": "",
|
||||
"description": "Alternative 2: the name of the configMap to use. The Key has to be the File Name used in the path setting",
|
||||
"title": "configMap"
|
||||
},
|
||||
"paths": {
|
||||
"default": "",
|
||||
"description": "Sets the path to the certs folder. @internal -- do not change this value",
|
||||
"title": "paths"
|
||||
},
|
||||
"secret": {
|
||||
"default": "",
|
||||
"description": "Alternative 1: the name of the secret to use. The Key has to be the File Name used in the path setting",
|
||||
"title": "secret"
|
||||
}
|
||||
},
|
||||
"title": "caCerts"
|
||||
},
|
||||
"componentCerts": {
|
||||
"additionalProperties": false,
|
||||
"description": "the java based nscale components have their own certificates, that you might want to upload. You can normally do so via the environment configuration, but should you want to use a secret, you can set it here",
|
||||
"properties": {
|
||||
"configMap": {
|
||||
"default": "",
|
||||
"description": "Alternative 2: the name of the configMap to use. The Key has to be the File Name used in the path setting",
|
||||
"title": "configMap"
|
||||
},
|
||||
"paths": {
|
||||
"default": "",
|
||||
"description": "Sets the path to the component certs. @internal -- do not change this value",
|
||||
"title": "paths"
|
||||
},
|
||||
"secret": {
|
||||
"default": "",
|
||||
"description": "Alternative 1: the name of the secret to use. The Key has to be the File Name used in the path setting",
|
||||
"title": "secret"
|
||||
}
|
||||
},
|
||||
"title": "componentCerts"
|
||||
},
|
||||
"conf": {
|
||||
"additionalProperties": false,
|
||||
"description": "The conf volume is a RWX volume mounted by the environment, that holds all configurations of all instances and components in this environment",
|
||||
"properties": {
|
||||
"path": {
|
||||
"default": "/opt/ceyoniq/nscale-pipeliner/workdir",
|
||||
"description": "Sets the path to the conf files @internal -- do not change this value",
|
||||
"title": "path"
|
||||
},
|
||||
"paths": {
|
||||
"default": "",
|
||||
"description": "Sets a list of paths to the conf files @internal -- do not change this value",
|
||||
"title": "paths"
|
||||
}
|
||||
},
|
||||
"title": "conf"
|
||||
},
|
||||
"data": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"class": {
|
||||
"default": "",
|
||||
"description": "Sets the class of the data disk",
|
||||
"title": "class"
|
||||
},
|
||||
"path": {
|
||||
"default": "",
|
||||
"description": "Sets the path to the data files @internal -- do not change this value",
|
||||
"title": "path"
|
||||
},
|
||||
"paths": {
|
||||
"description": "Sets a list of paths to the data files @internal -- do not change this value",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"title": "paths"
|
||||
},
|
||||
"size": {
|
||||
"default": "10Gi",
|
||||
"description": "Sets the size of the data disk",
|
||||
"title": "size"
|
||||
},
|
||||
"volumeName": {
|
||||
"default": "",
|
||||
"description": "If you do not want to have a Volume created by the provisioner, you can set the name of your volume here to attach to this pre-existing one",
|
||||
"title": "volumeName"
|
||||
}
|
||||
},
|
||||
"title": "data",
|
||||
"type": "object"
|
||||
},
|
||||
"defaultConfig": {
|
||||
"default": "{{ .component.fullName }}-defaultconfig",
|
||||
"description": "Sets a configMap with default configuration files that get copied to a new and empty container just before the template folder gets copied. Existing files are not overwritten.",
|
||||
"title": "defaultConfig"
|
||||
},
|
||||
"disk": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"class": {
|
||||
"default": "",
|
||||
"description": "Sets the class of the disk",
|
||||
"title": "class"
|
||||
},
|
||||
"enabled": {
|
||||
"default": "false",
|
||||
"description": "enables the use of the second data disk. If enabled, all paths defined will end up on this disk. In case of the (default) disabled, the paths will be added to the primaty data disk.",
|
||||
"title": "enabled"
|
||||
},
|
||||
"migration": {
|
||||
"default": "false",
|
||||
"description": "Enables the migration init container. This will copy the data in paths from the primary data disk to the newly enabled secondary disk. This is done only once and only if there is legacy data at all. No files are overwritten!",
|
||||
"title": "migration"
|
||||
},
|
||||
"path": {
|
||||
"default": "",
|
||||
"description": "Sets the path to the disk files @internal -- do not change this value",
|
||||
"title": "path"
|
||||
},
|
||||
"paths": {
|
||||
"default": "",
|
||||
"description": "Sets a list of paths to the data files @internal -- do not change this value",
|
||||
"title": "paths"
|
||||
},
|
||||
"size": {
|
||||
"default": "",
|
||||
"description": "Sets the size of the disk",
|
||||
"title": "size"
|
||||
},
|
||||
"volumeName": {
|
||||
"default": "",
|
||||
"description": "If you do not want to have a Volume created by the provisioner, you can set the name of your volume here to attach to this pre-existing one",
|
||||
"title": "volumeName"
|
||||
}
|
||||
},
|
||||
"title": "disk",
|
||||
"type": "object"
|
||||
},
|
||||
"file": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"class": {
|
||||
"default": "",
|
||||
"description": "Sets the class of the shared disk",
|
||||
"title": "class"
|
||||
},
|
||||
"path": {
|
||||
"default": "",
|
||||
"description": "Sets the path to the shared files @internal -- do not change this value",
|
||||
"title": "path"
|
||||
},
|
||||
"paths": {
|
||||
"default": "",
|
||||
"description": "Sets a list of paths to the shared files @internal -- do not change this value",
|
||||
"title": "paths"
|
||||
},
|
||||
"size": {
|
||||
"default": "",
|
||||
"description": "Sets the size of the shared disk",
|
||||
"title": "size"
|
||||
},
|
||||
"volumeName": {
|
||||
"default": "",
|
||||
"description": "If you do not want to have a Volume created by the provisioner, you can set the name of your volume here to attach to this pre-existing one",
|
||||
"title": "volumeName"
|
||||
}
|
||||
},
|
||||
"title": "file",
|
||||
"type": "object"
|
||||
},
|
||||
"fonts": {
|
||||
"additionalProperties": false,
|
||||
"description": "If you want to use additional fonts like the msttcorefonts (Microsoft Core Fonts). This mounts the fonts directory from the environment pool",
|
||||
"properties": {
|
||||
"path": {
|
||||
"default": "",
|
||||
"description": "Sets the path to the fonts folder. @internal -- do not change this value",
|
||||
"title": "path"
|
||||
}
|
||||
},
|
||||
"title": "fonts"
|
||||
},
|
||||
"generic": {
|
||||
"default": "",
|
||||
"description": "Allows to define generic mounts of pre-provisioned PVs into any container. This can be used e.g. to mount migration nfs, cifs / samba shares into a pipeliner container.",
|
||||
"title": "generic"
|
||||
},
|
||||
"license": {
|
||||
"additionalProperties": false,
|
||||
"description": "some nscale Components require a license file and this defines it's location",
|
||||
"properties": {
|
||||
"path": {
|
||||
"default": "/opt/ceyoniq/nscale-pipeliner/workdir/license.xml",
|
||||
"description": "Sets the path to the license files @internal -- do not change this value",
|
||||
"title": "path"
|
||||
}
|
||||
},
|
||||
"title": "license"
|
||||
},
|
||||
"logs": {
|
||||
"additionalProperties": false,
|
||||
"description": "The log volume is used to take any left-over logging in the container. The container should log to stdout, but if any component still tries to log to disk this disk needs to be writeable",
|
||||
"properties": {
|
||||
"path": {
|
||||
"default": "/opt/ceyoniq/nscale-pipeliner/workdir/log",
|
||||
"description": "Sets the path to the log files @internal -- do not change this value",
|
||||
"title": "path"
|
||||
},
|
||||
"paths": {
|
||||
"default": "",
|
||||
"description": "Sets a list of paths to the log files @internal -- do not change this value",
|
||||
"title": "paths"
|
||||
},
|
||||
"size": {
|
||||
"default": "",
|
||||
"description": "Sets the size of the log disk (all paths)",
|
||||
"title": "size"
|
||||
}
|
||||
},
|
||||
"title": "logs"
|
||||
},
|
||||
"pool": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"path": {
|
||||
"default": "",
|
||||
"description": "Sets the path to a directory, there the `pool` folder from the `conf` volume should be mounted. this is used to store scripts, apps and assets that are required to deploy an application / solution @internal -- do not change this value",
|
||||
"title": "path"
|
||||
}
|
||||
},
|
||||
"title": "pool",
|
||||
"type": "object"
|
||||
},
|
||||
"ptemp": {
|
||||
"additionalProperties": false,
|
||||
"description": "The temp volume is used to hold any superflues and temporary data. it is deleted when the pod terminates. However, it is extremely important as all pods filesystems are read only",
|
||||
"properties": {
|
||||
"path": {
|
||||
"default": "",
|
||||
"description": "Sets the path for temporary files that are persisted @internal -- do not change this value",
|
||||
"title": "path"
|
||||
},
|
||||
"paths": {
|
||||
"default": "",
|
||||
"description": "Sets a list of paths for temporary files that are persisted @internal -- do not change this value",
|
||||
"title": "paths"
|
||||
}
|
||||
},
|
||||
"title": "ptemp"
|
||||
},
|
||||
"temp": {
|
||||
"additionalProperties": false,
|
||||
"description": "The temp volume is used to hold any superflues and temporary data. it is deleted when the pod terminates. However, it is extremely important as all pods filesystems are read only",
|
||||
"properties": {
|
||||
"path": {
|
||||
"default": "",
|
||||
"description": "Sets the path to the temporary files @internal -- do not change this value",
|
||||
"title": "path"
|
||||
},
|
||||
"paths": {
|
||||
"default": "",
|
||||
"description": "Sets a list of paths to the temporary files @internal -- do not change this value",
|
||||
"title": "paths"
|
||||
},
|
||||
"size": {
|
||||
"default": "",
|
||||
"description": "Sets the size of the temporary disk (all paths)",
|
||||
"title": "size"
|
||||
}
|
||||
},
|
||||
"title": "temp"
|
||||
}
|
||||
},
|
||||
"title": "mounts",
|
||||
"type": "object"
|
||||
},
|
||||
"nameOverride": {
|
||||
"default": "",
|
||||
"description": "This overrides the output of the internal name function",
|
||||
"title": "nameOverride"
|
||||
},
|
||||
"nodeSelector": {
|
||||
"default": "",
|
||||
"description": "select specific nodes for this component",
|
||||
"title": "nodeSelector"
|
||||
},
|
||||
"replicaCount": {
|
||||
"default": "0",
|
||||
"description": "Default ReplicaCount is 0 as the pipeliner requires a working cold.xml",
|
||||
"title": "replicaCount"
|
||||
},
|
||||
"resources": {
|
||||
"additionalProperties": false,
|
||||
"description": "Assigns hardware resources to container",
|
||||
"properties": {
|
||||
"limits": {
|
||||
"additionalProperties": false,
|
||||
"description": "Limits the maximum resources",
|
||||
"properties": {
|
||||
"cpu": {
|
||||
"default": "",
|
||||
"description": "The maximum allowed CPU for the container",
|
||||
"title": "cpu"
|
||||
},
|
||||
"memory": {
|
||||
"default": "",
|
||||
"description": "The maximum allowed RAM for the container",
|
||||
"title": "memory"
|
||||
}
|
||||
},
|
||||
"title": "limits"
|
||||
},
|
||||
"requests": {
|
||||
"additionalProperties": false,
|
||||
"description": "Requests are used to assign a minimum to a container. This is the guaranteed amount",
|
||||
"properties": {
|
||||
"cpu": {
|
||||
"default": "",
|
||||
"description": "Set the share of guaranteed CPU to the container.",
|
||||
"title": "cpu"
|
||||
},
|
||||
"memory": {
|
||||
"default": "",
|
||||
"description": "Set the share of guaranteed RAM to the container",
|
||||
"title": "memory"
|
||||
}
|
||||
},
|
||||
"title": "requests"
|
||||
}
|
||||
},
|
||||
"title": "resources"
|
||||
},
|
||||
"security": {
|
||||
"additionalProperties": false,
|
||||
"description": "Security Section defining default runtime environment for your container",
|
||||
"properties": {
|
||||
"containerSecurityContext": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"allowPrivilegeEscalation": {
|
||||
"default": "false",
|
||||
"description": "Some functionality may need the possibility to allow privilege escalation. This should be very restrictive @internal -- you should not change this",
|
||||
"title": "allowPrivilegeEscalation"
|
||||
},
|
||||
"capabilities": {
|
||||
"additionalProperties": false,
|
||||
"description": "Capabilities this container should have. Only allow the necessity, and drop as many as possible @internal -- you should not change this",
|
||||
"properties": {
|
||||
"drop": {
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"title": "drop",
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"title": "capabilities"
|
||||
},
|
||||
"readOnlyRootFilesystem": {
|
||||
"default": "true",
|
||||
"description": "sets the container root file system to read only. This should be the case in production environment @internal -- you should not change this",
|
||||
"title": "readOnlyRootFilesystem"
|
||||
}
|
||||
},
|
||||
"title": "containerSecurityContext",
|
||||
"type": "object"
|
||||
},
|
||||
"podSecurityContext": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"fsGroup": {
|
||||
"default": "1001",
|
||||
"description": "The file system group as which new files are created @internal -- there is normally no need to change this",
|
||||
"title": "fsGroup"
|
||||
},
|
||||
"fsGroupChangePolicy": {
|
||||
"default": "OnRootMismatch",
|
||||
"description": "Under which condition should the fsGroup be changed @internal -- there is normally no need to change this",
|
||||
"title": "fsGroupChangePolicy"
|
||||
},
|
||||
"runAsUser": {
|
||||
"default": "1001",
|
||||
"description": "The user under which the container ist run. Avoid 0 / root. The container should run in a non-root context for security @internal -- there is normally no need to change this",
|
||||
"title": "runAsUser"
|
||||
}
|
||||
},
|
||||
"title": "podSecurityContext",
|
||||
"type": "object"
|
||||
},
|
||||
"zeroTrust": {
|
||||
"default": "`false`",
|
||||
"description": "turns on *Zero Trust* Mode, disabling *all* http communication, even the internal http probes",
|
||||
"title": "zeroTrust"
|
||||
}
|
||||
},
|
||||
"title": "security"
|
||||
},
|
||||
"service": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"annotations": {
|
||||
"default": "",
|
||||
"description": "adds extra Annotations to the service",
|
||||
"title": "annotations"
|
||||
},
|
||||
"enabled": {
|
||||
"default": "true",
|
||||
"description": "enables the service to be consumed by group components and a potential ingress Disabling the service also disables the ingress.",
|
||||
"title": "enabled"
|
||||
},
|
||||
"selector": {
|
||||
"default": "component",
|
||||
"description": "The selector can be `component` or `type` *component* selects only pods that are in the replicaset. *type* selects any pod that has the given type",
|
||||
"title": "selector"
|
||||
}
|
||||
},
|
||||
"title": "service",
|
||||
"type": "object"
|
||||
},
|
||||
"telemetry": {
|
||||
"additionalProperties": false,
|
||||
"description": "Settings for telemetry tools",
|
||||
"properties": {
|
||||
"openTelemetry": {
|
||||
"default": "",
|
||||
"description": "turns Open Telemetry on",
|
||||
"title": "openTelemetry"
|
||||
},
|
||||
"serviceName": {
|
||||
"default": "",
|
||||
"description": "Sets the service name for the telemetry service to more convenient identify the displayed component Example: \"{{ .this.meta.type }}-{{ .instance.name }}\"",
|
||||
"title": "serviceName"
|
||||
}
|
||||
},
|
||||
"title": "telemetry"
|
||||
},
|
||||
"template": {
|
||||
"additionalProperties": false,
|
||||
"description": "provide extra settings for pod templates",
|
||||
"properties": {
|
||||
"annotations": {
|
||||
"default": "",
|
||||
"description": "set additional annotations for pods",
|
||||
"title": "annotations"
|
||||
},
|
||||
"labels": {
|
||||
"default": "",
|
||||
"description": "set additional labels for pods",
|
||||
"title": "labels"
|
||||
}
|
||||
},
|
||||
"title": "template"
|
||||
},
|
||||
"terminationGracePeriodSeconds": {
|
||||
"default": "",
|
||||
"description": "Sets the terminationGracePeriodSeconds for the component If not set, it uses the Kubernetes defaults",
|
||||
"title": "terminationGracePeriodSeconds"
|
||||
},
|
||||
"timezone": {
|
||||
"default": "`Europe/Berlin`",
|
||||
"description": "set the time zone for this component to make sure log output has a specific timestamp, internal dates and times are correct (like the creationDate in nappl) etc.",
|
||||
"title": "timezone"
|
||||
},
|
||||
"tolerations": {
|
||||
"default": "",
|
||||
"description": "Set tolerations for this component",
|
||||
"title": "tolerations"
|
||||
},
|
||||
"utils": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"debug": {
|
||||
"default": "`false`",
|
||||
"description": "Turn debugging *on* will give you stack trace etc. Please check out the Chart Developer Guide",
|
||||
"title": "debug"
|
||||
},
|
||||
"disableWait": {
|
||||
"default": "`false`",
|
||||
"description": "in case you use the argoCD Wave feature, you might think about switching off the waitFor mechanism, that makes sure PODs are only started after pre-requisites are fulfilled. You can disable the starndard wait mechanism, but at your own risk, as this might start components even if they are not intended to run yet.",
|
||||
"title": "disableWait"
|
||||
},
|
||||
"disableWave": {
|
||||
"default": "`false`",
|
||||
"description": "If you use argoCD, you most likely want to use the argo Wave Feature as well, making sure the components of an instance are deployed ordered. However, in DEV you might want to disable this to allow live changing components while previous waves are not finished yet.",
|
||||
"title": "disableWave"
|
||||
},
|
||||
"includeNamespace": {
|
||||
"default": "`true`",
|
||||
"description": "By default, the namespace is rendered into the manifest. However, if you want to use `helm template` and store manifests for later applying them to multiple namespaces, you might want to turn this `false` to be able to use `kubectl apply -n <namespace> -f template.yaml` later",
|
||||
"title": "includeNamespace"
|
||||
},
|
||||
"maintenance": {
|
||||
"default": "`false`",
|
||||
"description": "in Maintenance Mode, all *waitFor* actions will be skipped, the *Health Checks* are ignored and the pods will start in idle, not starting the service at all. This will allow you to gain access to the container to perform recovery and maintenance tasks while having the real container up.",
|
||||
"title": "maintenance"
|
||||
},
|
||||
"renderComments": {
|
||||
"default": "`true`",
|
||||
"description": "You can turn Comment rendering *on* to get descriptive information inside the manifests. It will also fail on depricated functions and keys, so it is recommended to only switch it off in PROD",
|
||||
"title": "renderComments"
|
||||
}
|
||||
},
|
||||
"title": "utils",
|
||||
"type": "object"
|
||||
},
|
||||
"waitFor": {
|
||||
"default": "",
|
||||
"description": "Defines a list of conditions that need to be met before this components starts. The condition must be a network port that opens, when the master component is ready. Mostly, this will be a service, since a component is only added to a service if the probes succeed.",
|
||||
"title": "waitFor"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
}
|
||||
401
charts/pipeliner/values.yaml
Normal file
401
charts/pipeliner/values.yaml
Normal file
@@ -0,0 +1,401 @@
|
||||
# yaml-language-server: $schema=values.schema.json
|
||||
# -- Ingress defines wether this component is reachable via an ingress controller, Layer 7, through http(s)
|
||||
ingress:
|
||||
# -- You can toggle the ingress on wether you'd like this component
|
||||
# to be reachable through an ingress or not.
|
||||
enabled: true
|
||||
# -- Overrides the default backend protocol. The default is http,
|
||||
# unless in zeroTrust Mode, then it is switched to https automatically.
|
||||
# @default -- `http` <br> `https` in zero trust mode
|
||||
backendProtocol:
|
||||
# -- defines the path for a potential rewriting to `rewriteTarget`. Do not change unless you have a good reason
|
||||
# Example: `/nscalealinst1(/\|$)(.*)`
|
||||
# @internal -- This is an alpha feature - do not use it.
|
||||
inputPath:
|
||||
# -- defines a rewriteTarget for a potential retriting of `inputPath`. Do not change unless you have a good reason
|
||||
# Example: `/nscalealinst1/$2`
|
||||
# @internal -- This is an alpha feature - do not use it.
|
||||
rewriteTarget:
|
||||
# -- deny is used to exclude specific paths from public access, such as
|
||||
# administrative paths. For Example, in nappl, webc ist the hessian protocol, webb is
|
||||
# the burlap protocol. The configuration service is the endpoint used by
|
||||
# the Admin client.
|
||||
deny:
|
||||
# -- on component level, set cookie affinity for the ingress
|
||||
# example: `XtConLoadBalancerSession` for nscale Web
|
||||
cookie:
|
||||
# -- Sets the name of the tls secret to be used for this ingress, that contains
|
||||
# the private and public key. These secrets can optionally be provided by the instance
|
||||
# @default -- `{{ .this.ingress.domain }}-tls`
|
||||
secret:
|
||||
# -- Sets the domain to be used. This domain should be provided by the instance globally
|
||||
# for all components, but you are free to override it here
|
||||
domain:
|
||||
# -- The ingressclass to use for this ingress. Most likely, this is provided globally by the
|
||||
# instance, but you are free to override it here if this component should use a different class
|
||||
# e.g. if you have separated ingress controllers, like a public and an internal one
|
||||
# @default -- `public`
|
||||
class:
|
||||
# -- optionally sets a whitelist of ip ranges (CIDR format, comma separated)
|
||||
# from which ingress is allowed. This is an annotation for nginx, so won't work with other
|
||||
# ingress controllers
|
||||
whitelist:
|
||||
# -- Specify the namespace in which the ingress controller runs. This sets the firewall rule / networkPolicy
|
||||
# to allow traffic from this namespace to our pods. This may be a comma separated list
|
||||
# @default -- "ingress, kube-system, ingress-nginx"
|
||||
namespace:
|
||||
# -- The default service context path for this ingress. Some components allow to change this (e.g. SharePoint), for the
|
||||
# most though this is only a constant used in the scripts.
|
||||
contextPath: "/{{ .component.name }}"
|
||||
# -- Sets the annotation `nginx.ingress.kubernetes.io/proxy-read-timeout` on the ingress object, if set.
|
||||
proxyReadTimeout:
|
||||
# -- Adds extra Annotations to the ingress
|
||||
annotations:
|
||||
# -- Security Section defining default runtime environment for your container
|
||||
security:
|
||||
podSecurityContext:
|
||||
# -- The user under which the container ist run. Avoid 0 / root. The container should run in a non-root context
|
||||
# for security
|
||||
# @internal -- there is normally no need to change this
|
||||
runAsUser: 1001
|
||||
# -- The file system group as which new files are created
|
||||
# @internal -- there is normally no need to change this
|
||||
fsGroup: 1001
|
||||
# -- Under which condition should the fsGroup be changed
|
||||
# @internal -- there is normally no need to change this
|
||||
fsGroupChangePolicy: OnRootMismatch
|
||||
containerSecurityContext:
|
||||
# -- sets the container root file system to read only. This should be the case in production environment
|
||||
# @internal -- you should not change this
|
||||
readOnlyRootFilesystem: true
|
||||
# -- Some functionality may need the possibility to allow privilege escalation. This should be very restrictive
|
||||
# @internal -- you should not change this
|
||||
allowPrivilegeEscalation: false
|
||||
# -- Capabilities this container should have. Only allow the necessity, and drop as many as possible
|
||||
# @internal -- you should not change this
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
# -- turns on *Zero Trust* Mode, disabling *all* http communication, even the internal http probes
|
||||
# @default -- `false`
|
||||
zeroTrust:
|
||||
mounts:
|
||||
# -- The temp volume is used to hold any superflues and temporary data.
|
||||
# it is deleted when the pod terminates. However, it is extremely important
|
||||
# as all pods filesystems are read only
|
||||
temp:
|
||||
# -- Sets the path to the temporary files
|
||||
# @internal -- do not change this value
|
||||
path:
|
||||
# -- Sets a list of paths to the temporary files
|
||||
# @internal -- do not change this value
|
||||
paths:
|
||||
# -- Sets the size of the temporary disk (all paths)
|
||||
size:
|
||||
# -- The conf volume is a RWX volume mounted by the environment, that holds
|
||||
# all configurations of all instances and components in this environment
|
||||
conf:
|
||||
# -- Sets the path to the conf files
|
||||
# @internal -- do not change this value
|
||||
path: "/opt/ceyoniq/nscale-pipeliner/workdir"
|
||||
# -- Sets a list of paths to the conf files
|
||||
# @internal -- do not change this value
|
||||
paths:
|
||||
# -- The log volume is used to take any left-over logging in the container.
|
||||
# The container should log to stdout, but if any component still tries to log to disk
|
||||
# this disk needs to be writeable
|
||||
logs:
|
||||
# -- Sets the path to the log files
|
||||
# @internal -- do not change this value
|
||||
path: "/opt/ceyoniq/nscale-pipeliner/workdir/log"
|
||||
# -- Sets a list of paths to the log files
|
||||
# @internal -- do not change this value
|
||||
paths:
|
||||
# -- Sets the size of the log disk (all paths)
|
||||
size:
|
||||
# -- some nscale Components require a license file and this
|
||||
# defines it's location
|
||||
license:
|
||||
# -- Sets the path to the license files
|
||||
# @internal -- do not change this value
|
||||
path: "/opt/ceyoniq/nscale-pipeliner/workdir/license.xml"
|
||||
# -- If you want to use additional
|
||||
# fonts like the msttcorefonts (Microsoft Core Fonts). This mounts the
|
||||
# fonts directory from the environment pool
|
||||
fonts:
|
||||
# -- Sets the path to the fonts folder.
|
||||
# @internal -- do not change this value
|
||||
path:
|
||||
# -- You can add a file with trusted Root Certificates (e.g. Azure), to be able to
|
||||
# connect to alien services via https. If you have a self-signed root certificate,
|
||||
# you can also add it here.
|
||||
caCerts:
|
||||
# -- Sets the path to the certs folder.
|
||||
# @internal -- do not change this value
|
||||
paths:
|
||||
# -- Alternative 1: the name of the secret to use. The Key has to be the File Name used in the path setting
|
||||
secret:
|
||||
# -- Alternative 2: the name of the configMap to use. The Key has to be the File Name used in the path setting
|
||||
configMap:
|
||||
# -- the java based nscale components have their own certificates, that you might want to upload.
|
||||
# You can normally do so via the environment configuration, but should you want to use a secret,
|
||||
# you can set it here
|
||||
componentCerts:
|
||||
# -- Sets the path to the component certs.
|
||||
# @internal -- do not change this value
|
||||
paths:
|
||||
# -- Alternative 1: the name of the secret to use. The Key has to be the File Name used in the path setting
|
||||
secret:
|
||||
# -- Alternative 2: the name of the configMap to use. The Key has to be the File Name used in the path setting
|
||||
configMap:
|
||||
# -- Sets a configMap with default configuration files that get copied
|
||||
# to a new and empty container just before the template folder gets copied.
|
||||
# Existing files are not overwritten.
|
||||
defaultConfig: "{{ .component.fullName }}-defaultconfig"
|
||||
data:
|
||||
# -- Sets the size of the data disk
|
||||
size: "10Gi"
|
||||
# -- Sets a list of paths to the data files
|
||||
# @internal -- do not change this value
|
||||
paths:
|
||||
- "/opt/ceyoniq/nscale-pipeliner/workdir/data"
|
||||
# -- If you do not want to have a Volume created by the provisioner,
|
||||
# you can set the name of your volume here to attach to this pre-existing one
|
||||
volumeName:
|
||||
# -- Sets the class of the data disk
|
||||
class:
|
||||
# -- Sets the path to the data files
|
||||
# @internal -- do not change this value
|
||||
path:
|
||||
file:
|
||||
# -- If you do not want to have a Volume created by the provisioner,
|
||||
# you can set the name of your volume here to attach to this pre-existing one
|
||||
volumeName:
|
||||
# -- Sets the size of the shared disk
|
||||
size:
|
||||
# -- Sets the class of the shared disk
|
||||
class:
|
||||
# -- Sets the path to the shared files
|
||||
# @internal -- do not change this value
|
||||
path:
|
||||
# -- Sets a list of paths to the shared files
|
||||
# @internal -- do not change this value
|
||||
paths:
|
||||
pool:
|
||||
# -- Sets the path to a directory, there the `pool` folder from the `conf` volume should be mounted.
|
||||
# this is used to store scripts, apps and assets that are required to deploy an application / solution
|
||||
# @internal -- do not change this value
|
||||
path:
|
||||
# -- The temp volume is used to hold any superflues and temporary data.
|
||||
# it is deleted when the pod terminates. However, it is extremely important
|
||||
# as all pods filesystems are read only
|
||||
ptemp:
|
||||
# -- Sets the path for temporary files that are persisted
|
||||
# @internal -- do not change this value
|
||||
path:
|
||||
# -- Sets a list of paths for temporary files that are persisted
|
||||
# @internal -- do not change this value
|
||||
paths:
|
||||
# -- Allows to define generic mounts of pre-provisioned PVs into any container.
|
||||
# This can be used e.g. to mount migration nfs, cifs / samba shares into a pipeliner container.
|
||||
generic:
|
||||
disk:
|
||||
# -- Sets the size of the disk
|
||||
size:
|
||||
# -- Sets the class of the disk
|
||||
class:
|
||||
# -- Sets the path to the disk files
|
||||
# @internal -- do not change this value
|
||||
path:
|
||||
# -- Sets a list of paths to the data files
|
||||
# @internal -- do not change this value
|
||||
paths:
|
||||
# -- If you do not want to have a Volume created by the provisioner,
|
||||
# you can set the name of your volume here to attach to this pre-existing one
|
||||
volumeName:
|
||||
# -- enables the use of the second data disk. If enabled, all paths defined will end up on this disk.
|
||||
# In case of the (default) disabled, the paths will be added to the primaty data disk.
|
||||
enabled: false
|
||||
# -- Enables the migration init container. This will copy the data in paths from the primary data disk to the newly enabled secondary disk.
|
||||
# This is done only once and only if there is legacy data at all. No files are overwritten!
|
||||
migration: false
|
||||
# -- provide the image to be used for this component
|
||||
image:
|
||||
# -- you can provide your own pullSecrets, in case you use
|
||||
# a private repo.
|
||||
pullSecrets:
|
||||
- nscale-cr
|
||||
- nplus-cr
|
||||
# -- the name of the image to use
|
||||
name: pipeliner
|
||||
# -- the tag of the image to use
|
||||
tag: latest
|
||||
# -- if you use a private repo, feel free to set it here
|
||||
repo: ceyoniq.azurecr.io/release/nscale
|
||||
# -- set the time zone for this component to make sure log output has a specific timestamp, internal dates and times are correct (like the creationDate in nappl)
|
||||
# etc.
|
||||
# @default -- `Europe/Berlin`
|
||||
timezone:
|
||||
# -- defines internal constants for nplus.
|
||||
# do not change these values
|
||||
meta:
|
||||
# -- the type of the component. You should not change this value, except if
|
||||
# you use a pipeliner in core mode. In core mode, it should be *core*, else *pipeliner*
|
||||
# This type is used to create cluster communication for nappl and nstl and potentially
|
||||
# group multiple replicaSets into one service.
|
||||
type: pipeliner
|
||||
# -- lists the ports this component exposes. This is important for zero trust mode and others.
|
||||
ports:
|
||||
# -- The http port this component uses (if any). In zero trust mode, this will be disabled.
|
||||
# @internal -- this is a constant value of the component and should not be changed.
|
||||
http: 8080 # webdav
|
||||
# -- The tls / https port, this component uses (if any)
|
||||
# @internal -- this is a constant value of the component and should not be changed.
|
||||
https:
|
||||
# -- A potential tcp port, this component uses (if any)
|
||||
# @internal -- this is a constant value of the component and should not be changed.
|
||||
tcp: 4173 # for admin and mon
|
||||
# -- A potential rmi port, this component uses (if any)
|
||||
# @internal -- this is a constant value of the component and should not be changed.
|
||||
rmi:
|
||||
# -- A potential tls / tcps port, this component uses (if any)
|
||||
# @internal -- this is a constant value of the component and should not be changed.
|
||||
tcps:
|
||||
# -- sets tenant information to be able to invoice per use in a cloud environment
|
||||
tenant:
|
||||
# -- sets provider (partner, reseller) information to be able to invoice per use in a cloud environment
|
||||
provider:
|
||||
# -- Sets the wave in which this component should be deployed within an ArgoCD deployment
|
||||
# if unset, it uses the default wave thus all components are installed in one wave, then relying
|
||||
# on correct wait settings just like in a helm installation
|
||||
wave:
|
||||
# -- Sets the language of the main service (in the *service* container). This is used for instance
|
||||
# if you turn OpenTelemetry on, to know which Agent to inject into the container.
|
||||
language: cpp
|
||||
# -- The container name of the main service for this component. This is used to define where to
|
||||
# inject the telemetry agents, if any
|
||||
serviceContainer: pipeliner
|
||||
# -- A optional parameter to indicate the stage (DEV, QA, PROD, ...) this component, instance or environment
|
||||
# runs in. This can be used in template functions to add the stage to for instance the service name of
|
||||
# telemetry services like open telemetry. (see telemetry example)
|
||||
stage:
|
||||
# -- This is the version of the component, used for display
|
||||
# @internal -- set by devOps pipeline, so do not modify
|
||||
componentVersion:
|
||||
# -- Set tolerations for this component
|
||||
tolerations:
|
||||
# -- select specific nodes for this component
|
||||
nodeSelector:
|
||||
dav:
|
||||
# -- the Image to use for the DAV server
|
||||
image:
|
||||
repo: cr.nplus.cloud/subscription
|
||||
name: toolbox2
|
||||
tag: "latest"
|
||||
# -- the DAV server image pull policy
|
||||
pullPolicy: IfNotPresent
|
||||
# -- the dav user
|
||||
account: pipeliner
|
||||
# -- password of the dav user
|
||||
password: pipeliner
|
||||
# -- Alternatively, define a secret
|
||||
secret:
|
||||
# -- Default ReplicaCount is 0 as the pipeliner requires a working cold.xml
|
||||
replicaCount: 0
|
||||
# # <id>:
|
||||
# # path: <the path in the container, where you want to mount this>
|
||||
# # volumeName: <the name of the PV to be mounted>
|
||||
# # subPath: <an (optional) subpath to be used inside the PV>
|
||||
|
||||
# -- Sets the name of a secret, which holds additional environment variables for
|
||||
# the configuration. It is added as envFrom secretRef to the container.
|
||||
envSecret:
|
||||
# -- Sets the name of a configMap, which holds additional environment variables for
|
||||
# the configuration. It is added as envFrom configMap to the container.
|
||||
envMap:
|
||||
# -- Sets additional environment variables for
|
||||
# the configuration.
|
||||
env:
|
||||
# -- Assigns hardware resources to container
|
||||
resources:
|
||||
# -- Requests are used to assign a minimum to a container. This is the guaranteed amount
|
||||
requests:
|
||||
# -- Set the share of guaranteed CPU to the container.
|
||||
cpu:
|
||||
# -- Set the share of guaranteed RAM to the container
|
||||
memory:
|
||||
# -- Limits the maximum resources
|
||||
limits:
|
||||
# -- The maximum allowed CPU for the container
|
||||
cpu:
|
||||
# -- The maximum allowed RAM for the container
|
||||
memory:
|
||||
# -- This overrides the output of the internal name function
|
||||
nameOverride:
|
||||
# -- This overrides the output of the internal fullname function
|
||||
fullnameOverride:
|
||||
utils:
|
||||
# -- Turn debugging *on* will give you stack trace etc.
|
||||
# Please check out the Chart Developer Guide
|
||||
# @default -- `false`
|
||||
debug:
|
||||
# -- You can turn Comment rendering *on* to get descriptive information inside the manifests. It
|
||||
# will also fail on depricated functions and keys, so it is recommended to only switch it off in PROD
|
||||
# @default -- `true`
|
||||
renderComments:
|
||||
# -- By default, the namespace is rendered into the manifest. However, if you want to use
|
||||
# `helm template` and store manifests for later applying them to multiple namespaces, you might
|
||||
# want to turn this `false` to be able to use `kubectl apply -n <namespace> -f template.yaml` later
|
||||
# @default -- `true`
|
||||
includeNamespace:
|
||||
# -- in Maintenance Mode, all *waitFor* actions will be skipped, the *Health Checks* are ignored and the
|
||||
# pods will start in idle, not starting the service at all. This will allow you to gain access to the container
|
||||
# to perform recovery and maintenance tasks while having the real container up.
|
||||
# @default -- `false`
|
||||
maintenance:
|
||||
# -- If you use argoCD, you most likely want to use the argo Wave Feature as well, making sure the components
|
||||
# of an instance are deployed ordered. However, in DEV you might want to disable this to allow live changing components
|
||||
# while previous waves are not finished yet.
|
||||
# @default -- `false`
|
||||
disableWave:
|
||||
# -- in case you use the argoCD Wave feature, you might think about switching off the waitFor mechanism, that makes sure PODs are
|
||||
# only started after pre-requisites are fulfilled. You can disable the starndard wait mechanism, but at your own risk, as this might
|
||||
# start components even if they are not intended to run yet.
|
||||
# @default -- `false`
|
||||
disableWait:
|
||||
service:
|
||||
# -- enables the service to be consumed by group components and a potential ingress
|
||||
# Disabling the service also disables the ingress.
|
||||
enabled: true
|
||||
# -- The selector can be `component` or `type`
|
||||
# *component* selects only pods that are in the replicaset.
|
||||
# *type* selects any pod that has the given type
|
||||
selector: "component"
|
||||
# -- adds extra Annotations to the service
|
||||
annotations:
|
||||
# -- Defines a list of conditions that need to be met before this components starts.
|
||||
# The condition must be a network port that opens, when the master component is ready.
|
||||
# Mostly, this will be a service, since a component is only added to a service if the
|
||||
# probes succeed.
|
||||
waitFor:
|
||||
# -- if you set minReplicaCountType, a podDesruptionBudget will be created with this value as
|
||||
# minAvailable, using the component type as selector. This is useful for components, that are spread
|
||||
# across multiple replicaSets, like sharepoint or storage layer
|
||||
minReplicaCountType:
|
||||
# -- provide extra settings for pod templates
|
||||
template:
|
||||
# -- set additional annotations for pods
|
||||
annotations:
|
||||
# -- set additional labels for pods
|
||||
labels:
|
||||
# -- Settings for telemetry tools
|
||||
telemetry:
|
||||
# -- turns Open Telemetry on
|
||||
openTelemetry:
|
||||
# -- Sets the service name for the telemetry service to more convenient
|
||||
# identify the displayed component
|
||||
# Example: "{{ .this.meta.type }}-{{ .instance.name }}"
|
||||
serviceName:
|
||||
# -- Sets the terminationGracePeriodSeconds for the component
|
||||
# If not set, it uses the Kubernetes defaults
|
||||
terminationGracePeriodSeconds:
|
||||
Reference in New Issue
Block a user