Skip to main content
Version: v1.11.4

NiFi Parameter Context

NifiParameterContext is the Schema for the NiFi parameter context API.

apiVersion: nifi.konpyutaika.com/v1
kind: NifiParameterContext
metadata:
name: dataflow-lifecycle
spec:
description: "It is a test"
clusterRef:
name: nc
namespace: nifikop
secretRefs:
- name: secret-params
namespace: nifikop
parameters:
- name: test
value: toto
description: tutu
- name: test2
description: toto
sensistive: true
---
apiVersion: nifi.konpyutaika.com/v1
kind: NifiParameterContext
metadata:
name: dataflow-lifecycle-child
spec:
description: "It is a child test"
clusterRef:
name: nc
namespace: nifikop
secretRefs:
- name: secret-params
namespace: nifikop
inheritedParameterContexts:
- name: dataflow-lifecycle
parameters:
- name: test
value: toto-child
description: tutu (child)

NifiParameterContext

FieldTypeDescriptionRequiredDefault
metadataObjectMetadatais metadata that all persisted resources must have, which includes all objects parameter contexts must create.Nonil
specNifiParameterContextSpecdefines the desired state of NifiParameterContext.Nonil
statusNifiParameterContextStatusdefines the observed state of NifiParameterContext.Nonil

NifiParameterContextsSpec

FieldTypeDescriptionRequiredDefault
descriptionstringdescribes the Parameter Context.No-
parameters[ ]Parametera list of non-sensitive Parameters.Yes-
secretRefs[ ]SecretReferencea list of secret containing sensitive parameters (the key will name of the parameter)No-
clusterRefClusterReferencecontains the reference to the NifiCluster with the one the user is linked.Yes-
inheritedParameterContextParameterContextReferencecontains the reference(s) to the NiFiParameterContext it should inherit from.No-
disableTakeOverboolwhether or not the operator should take over an existing parameter context if its name is the same.No-

NifiParameterContextStatus

FieldTypeDescriptionRequiredDefault
idstringnifi parameter context's id.Yes-
versionint64the last nifi parameter context revision version catched.Yes-
latestUpdateRequestParameterContextUpdateRequestthe latest update request.Yes-
versionint64the last nifi parameter context revision version catched.Yes-
LatestSecretsResourceVersion[ ]SecretResourceVersionthe latest resourceVersion of the secrets.No-

Parameter

FieldTypeDescriptionRequiredDefault
namestringthe name of the Parameter.Yes-
valuestringthe value of the Parameter.No-
descriptionstringthe description of the Parameter.No-
sensitivestringWhether the parameter is sensitive or not.Nofalse

SecretReference

FieldTypeDescriptionRequiredDefault
namestringname of the secret.Yes-
namespacestringthe secret namespace location.Yes-

ParameterContextUpdateRequest

FieldTypeDescriptionRequiredDefault
idstringthe id of the update request.Yes-
uristringthe uri for this request.Yes-
submissionTimestringthe timestamp of when the request was submitted This property is read only.Yes-
lastUpdatedstringthe timestamp of when the request was submitted This property is read only.Yes-
completeboolwhether or not this request has completed.Yesfalse
failureReasonstringan explication of why the request failed, or null if this request has not failed.Yes-
percentCompletedint32the percentage complete of the request, between 0 and 100.Yes-
statestringthe state of the request.Yes-
notFoundboolwhether or not this request was found.Yesfalse
notFoundRetryCountint32the number of consecutive retries made in case of a NotFound error (limit: 3).Yes0

ParameterContextReference

FieldTypeDescriptionRequiredDefault
namestringname of the NifiParameterContext.Yes-
namespacestringthe NifiParameterContext namespace location.No-

SecretResourceVersion

FieldTypeDescriptionRequiredDefault
namestringname of the secret.Yes-
namespacestringnamespace where is located the secret.Yes-
resourceVersionstringresource version of the secret.Yes-