update comments

This commit is contained in:
Stavros kois
2023-02-11 17:32:38 +02:00
parent a8c3597f51
commit 35fc4ab35a
83 changed files with 97 additions and 84 deletions

View File

@@ -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.

View File

@@ -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.
*/}}

View File

@@ -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.
*/}}

View File

@@ -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.
*/}}

View File

@@ -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.
*/}}

View File

@@ -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.
*/}}

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.
*/}}

View File

@@ -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.

View File

@@ -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.
*/}}

View 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 -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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
*/}}

View File

@@ -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
*/}}

View File

@@ -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.
*/}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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" -}}

View File

@@ -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 */}}

View File

@@ -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 */}}

View File

@@ -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 */}}

View File

@@ -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
*/}}

View File

@@ -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" -}}

View File

@@ -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
*/}}

View File

@@ -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.
*/}}

View File

@@ -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
*/}}

View File

@@ -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
*/}}

View File

@@ -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
*/}}

View File

@@ -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
*/}}

View File

@@ -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
*/}}

View File

@@ -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
*/}}

View File

@@ -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
*/}}

View File

@@ -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
*/}}

View File

@@ -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
*/}}

View File

@@ -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
*/}}

View File

@@ -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
*/}}

View File

@@ -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
*/}}

View File

@@ -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" -}}

View File

@@ -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.
*/}}

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.

View File

@@ -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" -}}

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.