mirror of
https://github.com/truenas/charts.git
synced 2026-06-16 15:08:11 +08:00
update comments
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.class.configmap" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
name: The name of the configmap.
|
||||
labels: The labels of the configmap.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.class.cronjob" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the CronJob.
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.class.deployment" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the DaemonSet.
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.class.deployment" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Deployment.
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.class.endpointSlice" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service data, that will be used to render the Service object.
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.class.job" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Job.
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.class.networkAttachmentDefinition" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
name: The name of the Network Attachment Definition.
|
||||
labels: The labels of the Network Attachment Definition.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.class.pvc" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
name: The name of the PVC.
|
||||
labels: The labels of the PVC.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.class.rbac" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
name: The name of the rbac.
|
||||
labels: The labels of the rbac.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.class.secret" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
name: The name of the secret.
|
||||
labels: The labels of the secret.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.class.service" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service data, that will be used to render the Service object.
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.class.serviceAccount" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
name: The name of the serviceAccount.
|
||||
labels: The labels of the serviceAccount.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.class.deployment" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the StatefulSet.
|
||||
*/}}
|
||||
|
||||
|
||||
13
library/common/1.0.0/templates/lib/certificate/_getData.tpl
Normal file
13
library/common/1.0.0/templates/lib/certificate/_getData.tpl
Normal file
@@ -0,0 +1,13 @@
|
||||
{{/* Get Certificate Data */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.certificate.getData" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data of the certificate
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.certificate.getData" -}}
|
||||
{{- $objectData := .objectData -}}
|
||||
{{- $rootCtx := .rootCtx -}}
|
||||
|
||||
|
||||
|
||||
{{- end -}}
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns args list */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.container.args" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the container.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.container.args" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns command list */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.container.command" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the container.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.container.command" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns the image dictionary */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.container.imageSelector" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the container.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.container.imageSelector" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns lifecycle */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.container.lifecycle" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the container.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.container.lifecycle" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns ports list */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.container.ports" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the container.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.container.ports" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns termination */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.container.termination" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the container.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.container.termination" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns exec action */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.container.actions.exec" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the container.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.container.actions.exec" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns httpGet action */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.container.actions.httpGet" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the container.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.container.actions.httpGet" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* EndpointSlice - endpoints */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.endpointslice.endpoints" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data of the service
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* EndpointSlice - Ports */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.endpointslice.ports" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data of the service
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Configmap Validation */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.imagePullSecret.createData" (dict "objectData" $objectData "root" $rootCtx) -}}
|
||||
rootCtx: The root context of the object.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
data: The data of the imagePullSecret.
|
||||
*/}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns automountServiceAccountToken */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.automountServiceAccountToken" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.automountServiceAccountToken" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Container */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.container" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.container" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns DNS Policy and Config */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.dns" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.dns" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns enableServiceLinks */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.enableServiceLinks" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.enableServiceLinks" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Host Aliases */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.hostAliases" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.hostAliases" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Host Network */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.hostNetwork" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.hostNetwork" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Host Name */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.hostname" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.hostname" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Image Pull Secret List */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.imagePullSecret" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.imagePullSecret" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Node Selector */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.nodeSelector" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.nodeSelector" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Pod Security Context */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.securityContext" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.securityContext" -}}
|
||||
@@ -72,7 +72,7 @@ sysctls: []
|
||||
{{/* Returns Lowest and Highest ports assigned to the any container in the pod */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.securityContext.getPortRange" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.securityContext.getPortRange" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Priority Class Name */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.priorityClassName" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.priorityClassName" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Restart Policy */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.restartPolicy" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.restartPolicy" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Runtime Class Name */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.runtimeClassName" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.runtimeClassName" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Scheduler Name */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.schedulerName" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.schedulerName" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Service Account Name */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.serviceAccountName" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.serviceAccountName" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Termination Grace Period Seconds */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.terminationGracePeriodSeconds" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.terminationGracePeriodSeconds" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Tolerations */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.tolerations" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.tolerations" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Volumes */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.volumes" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.volumes" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns ConfigMap Volume */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.volume.configmap" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the volume.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.volume.configmap" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns device (hostPath) Volume */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.volume.device" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the volume.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.volume.device" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns emptyDir Volume */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.volume.emptyDir" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the volume.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.volume.emptyDir" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns hostPath Volume */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.volume.hostPath" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the volume.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.volume.hostPath" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns ixVolume Volume */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.volume.ixVolume" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the volume.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.volume.ixVolume" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns NFS Volume */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.volume.nfs" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the volume.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.volume.nfs" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns PVC Volume */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.volume.pvc" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the volume.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.volume.pvc" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Secret Volume */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pod.volume.secret" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the volume.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pod.volume.secret" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Service Account List for rbac */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.rbac.serviceAccount" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the RBAC.
|
||||
*/}}
|
||||
{{/* Parses service accounts, and checks if RBAC have selected any of them */}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Rules for rbac */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.rbac.rules" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the RBAC.
|
||||
*/}}
|
||||
{{/* Parses service accounts, and checks if RBAC have selected any of them */}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Returns Subjects for rbac */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.rbac.subjects" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the RBAC.
|
||||
*/}}
|
||||
{{/* Parses service accounts, and checks if RBAC have selected any of them */}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Service - MetalLB Annotations */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.metalLBAnnotations" (dict "rootCtx" $rootCtx "objectData" $objectData "annotations" $annotations) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data of the service
|
||||
annotations: The annotations variable reference, to append the MetalLB annotations
|
||||
*/}}
|
||||
@@ -26,7 +26,7 @@ annotations: The annotations variable reference, to append the MetalLB annotatio
|
||||
{{/* Service - Traefik Annotations */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.traefikAnnotations" (dict "rootCtx" $rootCtx "annotations" $annotations) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
annotations: The annotations variable reference, to append the Traefik annotations
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.getSelectedPodValues" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
objectData: The object data of the service
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
*/}}
|
||||
|
||||
{{- define "ix.v1.common.lib.service.getSelectedPodValues" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Service - Ports */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.ports" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data of the service
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.validation" (dict "objectData" $objectData) -}}
|
||||
objectData:
|
||||
rootCtx: The root context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service object.
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Service - clusterIP */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.clusterIP" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service object data
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Service - externalIPs */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.externalIPs" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service object data
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Service - externalTrafficPolicy */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.externalTrafficPolicy" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service object data
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Service - ipFamily */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.ipFamily" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service object data
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Service - publishNotReadyAddresses */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.publishNotReadyAddresses" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service object data
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Service - Session Affinity */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.sessionAffinity" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service object data
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Service - ClusterIP Spec */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.spec.clusterIP" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service object data
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Service - ExternalIP Spec */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.spec.externalIP" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service object data
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Service - ExternalName Spec */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.spec.externalName" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service object data
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Service - LoadBalancer Spec */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.spec.loadBalancer" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service object data
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Service - NodePort Spec */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.service.spec.nodePort" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the service
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service object data
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* PVC - Access Modes */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pvc.accessModes" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the pvc
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data of the pvc
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* PVC - Storage Class Name */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.pvc.storageClassName" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the pvc
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data of the pvc
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.pvc.storageClassName" -}}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.persistence.validation" (dict "objectData" $objectData) -}}
|
||||
objectData:
|
||||
rootCtx: The root context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The service object.
|
||||
*/}}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* CronJob Spec */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.workload.cronjobSpec" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
||||
concurrencyPolicy: Allow, Forbid, or Replace. Defaults to Allow.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* DaemonSet Spec */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.workload.daemonsetSpec" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
replicas: The number of replicas.
|
||||
revisionHistoryLimit: The number of old ReplicaSets to retain to allow rollback.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Deployment Spec */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.workload.deploymentSpec" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
replicas: The number of replicas.
|
||||
revisionHistoryLimit: The number of old ReplicaSets to retain to allow rollback.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Job Spec */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.workload.jobSpec" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
backoffLimit: The number of retries before marking this job failed. Defaults to 6.
|
||||
completions: The desired number of successfully finished pods the job should be run with. Defaults to 1.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Pod Spec */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.workload.pod" (dict "rootCtx" $ "objectData" $objectData) }}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData: The object data to be used to render the Pod.
|
||||
*/}}
|
||||
{{- define "ix.v1.common.lib.workload.pod" -}}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* StatefulSet Spec */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.workload.statefulsetSpec" (dict "rootCtx" $rootCtx "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
replicas: The number of replicas.
|
||||
revisionHistoryLimit: The number of old ReplicaSets to retain to allow rollback.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* CronJob Validation */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.workload.cronjobValidation" (dict "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
completionMode: The completionMode of the object.
|
||||
completions: The completions of the object.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* DaemonSet Validation */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.workload.daemonsetValidation" (dict "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
strategy: The strategy of the object.
|
||||
rollingUpdate: The rollingUpdate of the object.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Deployment Validation */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.workload.deploymentValidation" (dict "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
strategy: The strategy of the object.
|
||||
rollingUpdate: The rollingUpdate of the object.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* Job Validation */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.workload.jobValidation" (dict "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
completionMode: The completionMode of the object.
|
||||
completions: The completions of the object.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{{/* StatefulSet Validation */}}
|
||||
{{/* Call this template:
|
||||
{{ include "ix.v1.common.lib.workload.statefulsetValidation" (dict "objectData" $objectData) -}}
|
||||
rootCtx: The root context of the template. It is used to access the global context.
|
||||
rootCtx: The root context of the chart.
|
||||
objectData:
|
||||
strategy: The strategy of the object.
|
||||
rollingUpdate: The rollingUpdate of the object.
|
||||
|
||||
Reference in New Issue
Block a user