You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/v1alpha1/securesign_types.go
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,8 @@ import (
24
24
// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
25
25
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.
26
26
27
-
// SecuresignSpec defines the desired state of Securesign
27
+
// SecuresignSpec defines the desired state of Securesign.
28
+
// Service account settings defined at this level (such as imagePullSecrets) are inherited by all components.
28
29
// +kubebuilder:validation:XValidation:rule="(has(self.rekor.attestations.enabled) && !self.rekor.attestations.enabled) || !self.rekor.attestations.url.startsWith('file://') || (!(self.rekor.replicas > 1) || ('ReadWriteMany' in self.rekor.pvc.accessModes))",message="When Rekor's rich attestation storage is enabled, and it's URL starts with 'file://', then PVC accessModes must contain 'ReadWriteMany' for replicas greater than 1."
29
30
// +kubebuilder:validation:XValidation:rule="!(self.tuf.replicas > 1) || ('ReadWriteMany' in self.tuf.pvc.accessModes)",message="For TUF deployments with more than 1 replica, tuf.pvc.accessModes must include 'ReadWriteMany'."
0 commit comments