Skip to main content
Version: 1.36.1

This page comes from sighupio/distribution: docs/schemas/kfddistribution-kfd-v1alpha2.md (v1.36.1). To change it, change the source.

KFDDistribution: .spec.distribution

This page is part of the KFDDistribution schema reference.

.spec.distribution​

Properties​

PropertyTypeRequired
commonobjectOptional
customPatchesobjectOptional
customResourcesarrayOptional
kubeconfigstringRequired
modulesobjectRequired

.spec.distribution.common​

Properties​

PropertyTypeRequired
networkPoliciesEnabledbooleanOptional
nodeSelectorobjectOptional
providerobjectOptional
registrystringOptional
relativeVendorPathstringOptional
tolerationsarrayOptional

Description​

Common configuration for all the distribution modules.

.spec.distribution.common.networkPoliciesEnabled​

Description​

EXPERIMENTAL FEATURE. This field defines whether Network Policies are provided for core modules.

.spec.distribution.common.nodeSelector​

Description​

The node selector to use to place the pods for all the SD modules. Follows Kubernetes selector format. Example: node.kubernetes.io/role: infra.

.spec.distribution.common.provider​

Properties​

PropertyTypeRequired
typestringRequired

.spec.distribution.common.provider.type​

Description​

The provider type. Don't set. FOR INTERNAL USE ONLY.

.spec.distribution.common.registry​

Description​

URL of the registry where to pull images from for the Distribution phase. (Default is registry.sighup.io/fury).

NOTE: If plugins are pulling from the default registry, the registry will be replaced for the plugin too.

.spec.distribution.common.relativeVendorPath​

Description​

The relative path to the vendor directory, does not need to be changed.

.spec.distribution.common.tolerations​

Properties​

PropertyTypeRequired
effectstringRequired
keystringRequired
operatorstringOptional
valuestringOptional

Description​

An array with the tolerations that will be added to the pods for all the SD modules. Follows Kubernetes tolerations format. Example:

- effect: NoSchedule
key: node.kubernetes.io/role
value: infra

.spec.distribution.common.tolerations.effect​

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"NoSchedule"
"PreferNoSchedule"
"NoExecute"

.spec.distribution.common.tolerations.key​

Description​

The key of the toleration

.spec.distribution.common.tolerations.operator​

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"Exists"
"Equal"

.spec.distribution.common.tolerations.value​

Description​

The value of the toleration

.spec.distribution.customPatches​

Properties​

PropertyTypeRequired
configMapGeneratorarrayOptional
imagesarrayOptional
patchesarrayOptional
patchesStrategicMergearrayOptional
secretGeneratorarrayOptional

.spec.distribution.customPatches.configMapGenerator​

Properties​

PropertyTypeRequired
behaviorstringOptional
envsarrayOptional
filesarrayOptional
literalsarrayOptional
namestringRequired
namespacestringOptional
optionsobjectOptional

.spec.distribution.customPatches.configMapGenerator.behavior​

Description​

The behavior of the configmap

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"create"
"replace"
"merge"

.spec.distribution.customPatches.configMapGenerator.envs​

Description​

The envs of the configmap

.spec.distribution.customPatches.configMapGenerator.files​

Description​

The files of the configmap

.spec.distribution.customPatches.configMapGenerator.literals​

Description​

The literals of the configmap

.spec.distribution.customPatches.configMapGenerator.name​

Description​

The name of the configmap

.spec.distribution.customPatches.configMapGenerator.namespace​

Description​

The namespace of the configmap

.spec.distribution.customPatches.configMapGenerator.options​

Properties​

PropertyTypeRequired
annotationsobjectOptional
disableNameSuffixHashbooleanOptional
immutablebooleanOptional
labelsobjectOptional

.spec.distribution.customPatches.configMapGenerator.options.annotations​

Description​

The annotations of the configmap

.spec.distribution.customPatches.configMapGenerator.options.disableNameSuffixHash​

Description​

If true, the name suffix hash will be disabled

.spec.distribution.customPatches.configMapGenerator.options.immutable​

Description​

If true, the configmap will be immutable

.spec.distribution.customPatches.configMapGenerator.options.labels​

Description​

The labels of the configmap

.spec.distribution.customPatches.images​

Description​

Each entry should follow the format of Kustomize's images patch

.spec.distribution.customPatches.patches​

Properties​

PropertyTypeRequired
optionsobjectOptional
patchstringOptional
pathstringOptional
targetobjectOptional

.spec.distribution.customPatches.patches.options​

Properties​

PropertyTypeRequired
allowKindChangebooleanOptional
allowNameChangebooleanOptional

.spec.distribution.customPatches.patches.options.allowKindChange​

Description​

If true, the kind change will be allowed

.spec.distribution.customPatches.patches.options.allowNameChange​

Description​

If true, the name change will be allowed

.spec.distribution.customPatches.patches.patch​

Description​

The patch content

.spec.distribution.customPatches.patches.path​

Description​

The path of the patch

.spec.distribution.customPatches.patches.target​

Properties​

PropertyTypeRequired
annotationSelectorstringOptional
groupstringOptional
kindstringOptional
labelSelectorstringOptional
namestringOptional
namespacestringOptional
versionstringOptional

.spec.distribution.customPatches.patches.target.annotationSelector​

Description​

The annotation selector of the target

.spec.distribution.customPatches.patches.target.group​

Description​

The group of the target

.spec.distribution.customPatches.patches.target.kind​

Description​

The kind of the target

.spec.distribution.customPatches.patches.target.labelSelector​

Description​

The label selector of the target

.spec.distribution.customPatches.patches.target.name​

Description​

The name of the target

.spec.distribution.customPatches.patches.target.namespace​

Description​

The namespace of the target

.spec.distribution.customPatches.patches.target.version​

Description​

The version of the target

.spec.distribution.customPatches.patchesStrategicMerge​

Description​

Each entry should be either a relative file path or an inline content resolving to a partial or complete resource definition

.spec.distribution.customPatches.secretGenerator​

Properties​

PropertyTypeRequired
behaviorstringOptional
envsarrayOptional
filesarrayOptional
literalsarrayOptional
namestringRequired
namespacestringOptional
optionsobjectOptional
typestringOptional

.spec.distribution.customPatches.secretGenerator.behavior​

Description​

The behavior of the secret

Constraints​

enum: the value of this property must be equal to one of the following string values:

Value
"create"
"replace"
"merge"

.spec.distribution.customPatches.secretGenerator.envs​

Description​

The envs of the secret

.spec.distribution.customPatches.secretGenerator.files​

Description​

The files of the secret

.spec.distribution.customPatches.secretGenerator.literals​

Description​

The literals of the secret

.spec.distribution.customPatches.secretGenerator.name​

Description​

The name of the secret

.spec.distribution.customPatches.secretGenerator.namespace​

Description​

The namespace of the secret

.spec.distribution.customPatches.secretGenerator.options​

Properties​

PropertyTypeRequired
annotationsobjectOptional
disableNameSuffixHashbooleanOptional
immutablebooleanOptional
labelsobjectOptional

.spec.distribution.customPatches.secretGenerator.options.annotations​

Description​

The annotations of the secret

.spec.distribution.customPatches.secretGenerator.options.disableNameSuffixHash​

Description​

If true, the name suffix hash will be disabled

.spec.distribution.customPatches.secretGenerator.options.immutable​

Description​

If true, the secret will be immutable

.spec.distribution.customPatches.secretGenerator.options.labels​

Description​

The labels of the secret

.spec.distribution.customPatches.secretGenerator.type​

Description​

The type of the secret

.spec.distribution.customResources​

Description​

Add custom resources to the distribution phase. This field is a list of strings. Each entry points to a resource file, a kustomize base, or a remote resource, for example a Git repository or a URL. Use customResources only when furyctl must apply the resources in the distribution phase, together with the other modules. For all the other resources, use Plugins.

.spec.distribution.kubeconfig​

Description​

The path to the kubeconfig file.

.spec.distribution.modules​

Properties​

PropertyTypeRequired
authobjectOptional
drobjectRequired
ingressobjectRequired
loggingobjectRequired
monitoringobjectOptional
networkingobjectOptional
policyobjectRequired
tracingobjectOptional