Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions bundle/kubernetes/manifests/ml.sigstore.dev_modelvalidations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,24 @@ spec:
When true, the validation container periodically re-validates the model.
When false (default), the validation container runs as a standard init container (one-shot).
type: boolean
failureThreshold:
default: 1
description: |-
FailureThreshold is the number of consecutive failed periodic re-validations
after which the pod is marked not-ready and removed from the Service
endpoints, until a later periodic validation succeeds again.
Only used when Enabled is true.
A value of 0 disables readiness revocation (fail-open): once the pod has
become ready, it stays ready regardless of later periodic failures. This
matches the pre-1.0 behavior.
The default is 1 (fail-closed): a single failed periodic validation removes
the pod from rotation. Set a higher value to tolerate transient failures
(e.g. 3 only revokes readiness after three consecutive failures).
format: int32
minimum: 0
type: integer
interval:
default: 5m
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,43 @@ metadata:
"name": "modelvalidation-sample",
"namespace": "model-validation-operator-system"
},
"spec": null
"spec": {
"config": {
"sigstoreConfig": {
"certificateIdentity": "email:model@example.com",
"certificateOidcIssuer": "https://accounts.google.com"
}
},
"continuousValidation": {
"enabled": false,
"failureThreshold": 1,
"interval": "5m"
},
"imagePullPolicy": "IfNotPresent",
"model": {
"allowSymlinks": false,
"ignoreGitPaths": true,
"ignorePaths": [],
"ignoreUnsignedFiles": false,
"path": "/models/example-model",
"signaturePath": "/models/example-model.sigstore.json"
},
"resources": {
"limits": {
"cpu": "1",
"memory": "512Mi"
},
"requests": {
"cpu": "100m",
"memory": "128Mi"
}
}
}
}
]
capabilities: Seamless Upgrades
containerImage: ghcr.io/sigstore/model-validation-operator:v1.0.0
createdAt: "2026-11-11T15:58:12Z"
createdAt: "2026-11-16T12:26:37Z"
operatorframework.io/suggested-namespace: model-validation-operator-system
operatorframework.io/suggested-namespace-template: '{"apiVersion":"v1","kind":"Namespace","metadata":{"name":"model-validation-operator-system","labels":{"openshift.io/cluster-monitoring":"true"}}}'
operators.operatorframework.io/builder: operator-sdk-v1.42.0
Expand All @@ -35,6 +66,95 @@ spec:
displayName: Model Validation
kind: ModelValidation
name: modelvalidations.ml.sigstore.dev
specDescriptors:
- description: Model artifact paths and verification options.
displayName: Model
path: model
- description: Path to the model artifact, using a local path or supported URI.
displayName: Model Path
path: model.path
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: Path to the model signature bundle.
displayName: Signature Path
path: model.signaturePath
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: File paths to exclude from model verification.
displayName: Ignore Paths
path: model.ignorePaths
- description: Ignore Git-related files during verification.
displayName: Ignore Git Paths
path: model.ignoreGitPaths
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
- description: Allow files without signatures to be skipped.
displayName: Ignore Unsigned Files
path: model.ignoreUnsignedFiles
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
- description: Follow symbolic links while verifying model files.
displayName: Allow Symlinks
path: model.allowSymlinks
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
- description: Signature verification settings. Specify exactly one verification
method.
displayName: Verification Configuration
path: config
- description: Expected signing certificate identity.
displayName: Certificate Identity
path: config.sigstoreConfig.certificateIdentity
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: OIDC issuer for the signing certificate.
displayName: Certificate OIDC Issuer
path: config.sigstoreConfig.certificateOidcIssuer
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: Path to the trusted certificate authority file.
displayName: Certificate Authority
path: config.pkiConfig.certificateAuthority
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: Path to the public key used for verification.
displayName: Public Key Path
path: config.publicKeyConfig.keyPath
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: Path to the client trust configuration file.
displayName: Trust Configuration Path
path: config.clientTrustConfig.trustConfigPath
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: Pull policy for the validation container image.
displayName: Image Pull Policy
path: imagePullPolicy
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:imagePullPolicy
- description: Enable periodic model re-validation.
displayName: Enable Continuous Validation
path: continuousValidation.enabled
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
- description: Interval between periodic validations, such as 5m or 1h.
displayName: Validation Interval
path: continuousValidation.interval
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: Consecutive failures before the pod is marked not ready.
displayName: Failure Threshold
path: continuousValidation.failureThreshold
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:number
- description: Periodic validation settings.
displayName: Continuous Validation
path: continuousValidation
- description: CPU and memory requests and limits for the validation container.
displayName: Resource Requirements
path: resources
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:resourceRequirements
version: v1alpha1
- description: |-
TelemetryConfig is the Schema for the telemetryconfigs API.
Expand Down
18 changes: 18 additions & 0 deletions bundle/openshift/manifests/ml.sigstore.dev_modelvalidations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,24 @@ spec:
When true, the validation container periodically re-validates the model.
When false (default), the validation container runs as a standard init container (one-shot).
type: boolean
failureThreshold:
default: 1
description: |-
FailureThreshold is the number of consecutive failed periodic re-validations
after which the pod is marked not-ready and removed from the Service
endpoints, until a later periodic validation succeeds again.
Only used when Enabled is true.
A value of 0 disables readiness revocation (fail-open): once the pod has
become ready, it stays ready regardless of later periodic failures. This
matches the pre-1.0 behavior.
The default is 1 (fail-closed): a single failed periodic validation removes
the pod from rotation. Set a higher value to tolerate transient failures
(e.g. 3 only revokes readiness after three consecutive failures).
format: int32
minimum: 0
type: integer
interval:
default: 5m
description: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,43 @@ metadata:
"name": "modelvalidation-sample",
"namespace": "model-validation-operator-system"
},
"spec": null
"spec": {
"config": {
"sigstoreConfig": {
"certificateIdentity": "email:model@example.com",
"certificateOidcIssuer": "https://accounts.google.com"
}
},
"continuousValidation": {
"enabled": false,
"failureThreshold": 1,
"interval": "5m"
},
"imagePullPolicy": "IfNotPresent",
"model": {
"allowSymlinks": false,
"ignoreGitPaths": true,
"ignorePaths": [],
"ignoreUnsignedFiles": false,
"path": "/models/example-model",
"signaturePath": "/models/example-model.sigstore.json"
},
"resources": {
"limits": {
"cpu": "1",
"memory": "512Mi"
},
"requests": {
"cpu": "100m",
"memory": "128Mi"
}
}
}
}
]
capabilities: Seamless Upgrades
containerImage: ghcr.io/sigstore/model-validation-operator:v1.0.0
createdAt: "2026-11-11T15:58:13Z"
createdAt: "2026-11-16T12:26:38Z"
operatorframework.io/suggested-namespace: model-validation-operator-system
operatorframework.io/suggested-namespace-template: '{"apiVersion":"v1","kind":"Namespace","metadata":{"name":"model-validation-operator-system","labels":{"openshift.io/cluster-monitoring":"true"}}}'
operators.operatorframework.io/builder: operator-sdk-v1.42.0
Expand All @@ -35,6 +66,95 @@ spec:
displayName: Model Validation
kind: ModelValidation
name: modelvalidations.ml.sigstore.dev
specDescriptors:
- description: Model artifact paths and verification options.
displayName: Model
path: model
- description: Path to the model artifact, using a local path or supported URI.
displayName: Model Path
path: model.path
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: Path to the model signature bundle.
displayName: Signature Path
path: model.signaturePath
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: File paths to exclude from model verification.
displayName: Ignore Paths
path: model.ignorePaths
- description: Ignore Git-related files during verification.
displayName: Ignore Git Paths
path: model.ignoreGitPaths
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
- description: Allow files without signatures to be skipped.
displayName: Ignore Unsigned Files
path: model.ignoreUnsignedFiles
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
- description: Follow symbolic links while verifying model files.
displayName: Allow Symlinks
path: model.allowSymlinks
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
- description: Signature verification settings. Specify exactly one verification
method.
displayName: Verification Configuration
path: config
- description: Expected signing certificate identity.
displayName: Certificate Identity
path: config.sigstoreConfig.certificateIdentity
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: OIDC issuer for the signing certificate.
displayName: Certificate OIDC Issuer
path: config.sigstoreConfig.certificateOidcIssuer
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: Path to the trusted certificate authority file.
displayName: Certificate Authority
path: config.pkiConfig.certificateAuthority
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: Path to the public key used for verification.
displayName: Public Key Path
path: config.publicKeyConfig.keyPath
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: Path to the client trust configuration file.
displayName: Trust Configuration Path
path: config.clientTrustConfig.trustConfigPath
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: Pull policy for the validation container image.
displayName: Image Pull Policy
path: imagePullPolicy
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:imagePullPolicy
- description: Enable periodic model re-validation.
displayName: Enable Continuous Validation
path: continuousValidation.enabled
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
- description: Interval between periodic validations, such as 5m or 1h.
displayName: Validation Interval
path: continuousValidation.interval
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:text
- description: Consecutive failures before the pod is marked not ready.
displayName: Failure Threshold
path: continuousValidation.failureThreshold
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:number
- description: Periodic validation settings.
displayName: Continuous Validation
path: continuousValidation
- description: CPU and memory requests and limits for the validation container.
displayName: Resource Requirements
path: resources
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:resourceRequirements
version: v1alpha1
- description: |-
TelemetryConfig is the Schema for the telemetryconfigs API.
Expand Down
3 changes: 3 additions & 0 deletions config/manifests/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ resources:
- ../samples
- ../scorecard

components:
- patches

# [WEBHOOK] To enable webhooks, uncomment all the sections with [WEBHOOK] prefix.
# Do NOT uncomment sections with prefix [CERTMANAGER], as OLM does not support cert-manager.
# These patches remove the unnecessary "cert" volume and its manager container volumeMount.
Expand Down
10 changes: 10 additions & 0 deletions config/manifests/patches/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

patches:
- path: modelvalidation_descriptors.yaml
target:
group: operators.coreos.com
version: v1alpha1
kind: ClusterServiceVersion
name: model-validation-operator.v1.0.0
Loading
Loading