Remove `spec.verify` from the API
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
4b0729203b
commit
ada42eeaa7
|
@ -69,11 +69,6 @@ type OCIRepositorySpec struct {
|
||||||
// +optional
|
// +optional
|
||||||
CertSecretRef *meta.LocalObjectReference `json:"certSecretRef,omitempty"`
|
CertSecretRef *meta.LocalObjectReference `json:"certSecretRef,omitempty"`
|
||||||
|
|
||||||
// Verification specifies the configuration to verify the autheticity
|
|
||||||
// of an OCI Artifact.
|
|
||||||
// +optional
|
|
||||||
Verification *OCIRepositoryVerification `json:"verify,omitempty"`
|
|
||||||
|
|
||||||
// The interval at which to check for image updates.
|
// The interval at which to check for image updates.
|
||||||
// +required
|
// +required
|
||||||
Interval metav1.Duration `json:"interval"`
|
Interval metav1.Duration `json:"interval"`
|
||||||
|
|
|
@ -707,11 +707,6 @@ func (in *OCIRepositorySpec) DeepCopyInto(out *OCIRepositorySpec) {
|
||||||
*out = new(meta.LocalObjectReference)
|
*out = new(meta.LocalObjectReference)
|
||||||
**out = **in
|
**out = **in
|
||||||
}
|
}
|
||||||
if in.Verification != nil {
|
|
||||||
in, out := &in.Verification, &out.Verification
|
|
||||||
*out = new(OCIRepositoryVerification)
|
|
||||||
**out = **in
|
|
||||||
}
|
|
||||||
out.Interval = in.Interval
|
out.Interval = in.Interval
|
||||||
if in.Timeout != nil {
|
if in.Timeout != nil {
|
||||||
in, out := &in.Timeout, &out.Timeout
|
in, out := &in.Timeout, &out.Timeout
|
||||||
|
|
|
@ -122,30 +122,6 @@ spec:
|
||||||
on a remote container registry.
|
on a remote container registry.
|
||||||
pattern: ^oci://
|
pattern: ^oci://
|
||||||
type: string
|
type: string
|
||||||
verify:
|
|
||||||
description: Verification specifies the configuration to verify the
|
|
||||||
autheticity of an OCI Artifact.
|
|
||||||
properties:
|
|
||||||
provider:
|
|
||||||
description: Provider specifies the technology used to sign the
|
|
||||||
OCI Artifact.
|
|
||||||
enum:
|
|
||||||
- cosign
|
|
||||||
type: string
|
|
||||||
secretRef:
|
|
||||||
description: SecretRef specifies the Kubernetes Secret containing
|
|
||||||
the trusted public keys.
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
description: Name of the referent.
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- name
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- provider
|
|
||||||
- secretRef
|
|
||||||
type: object
|
|
||||||
required:
|
required:
|
||||||
- interval
|
- interval
|
||||||
- url
|
- url
|
||||||
|
|
|
@ -1022,21 +1022,6 @@ you are using a self-signed server certificate.</p>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<code>verify</code><br>
|
|
||||||
<em>
|
|
||||||
<a href="#source.toolkit.fluxcd.io/v1beta2.OCIRepositoryVerification">
|
|
||||||
OCIRepositoryVerification
|
|
||||||
</a>
|
|
||||||
</em>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<em>(Optional)</em>
|
|
||||||
<p>Verification specifies the configuration to verify the autheticity
|
|
||||||
of an OCI Artifact.</p>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<code>interval</code><br>
|
<code>interval</code><br>
|
||||||
<em>
|
<em>
|
||||||
<a href="https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration">
|
<a href="https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration">
|
||||||
|
@ -2678,21 +2663,6 @@ you are using a self-signed server certificate.</p>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<code>verify</code><br>
|
|
||||||
<em>
|
|
||||||
<a href="#source.toolkit.fluxcd.io/v1beta2.OCIRepositoryVerification">
|
|
||||||
OCIRepositoryVerification
|
|
||||||
</a>
|
|
||||||
</em>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<em>(Optional)</em>
|
|
||||||
<p>Verification specifies the configuration to verify the autheticity
|
|
||||||
of an OCI Artifact.</p>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<code>interval</code><br>
|
<code>interval</code><br>
|
||||||
<em>
|
<em>
|
||||||
<a href="https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration">
|
<a href="https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration">
|
||||||
|
@ -2838,10 +2808,6 @@ github.com/fluxcd/pkg/apis/meta.ReconcileRequestStatus
|
||||||
</div>
|
</div>
|
||||||
<h3 id="source.toolkit.fluxcd.io/v1beta2.OCIRepositoryVerification">OCIRepositoryVerification
|
<h3 id="source.toolkit.fluxcd.io/v1beta2.OCIRepositoryVerification">OCIRepositoryVerification
|
||||||
</h3>
|
</h3>
|
||||||
<p>
|
|
||||||
(<em>Appears on:</em>
|
|
||||||
<a href="#source.toolkit.fluxcd.io/v1beta2.OCIRepositorySpec">OCIRepositorySpec</a>)
|
|
||||||
</p>
|
|
||||||
<p>OCIRepositoryVerification verifies the authenticity of an OCI Artifact</p>
|
<p>OCIRepositoryVerification verifies the authenticity of an OCI Artifact</p>
|
||||||
<div class="md-typeset__scrollwrap">
|
<div class="md-typeset__scrollwrap">
|
||||||
<div class="md-typeset__table">
|
<div class="md-typeset__table">
|
||||||
|
|
Loading…
Reference in New Issue