Skip to content

Commit

Permalink
Merge pull request openshift#2868 from bryan-cox/HOSTEDCP-1046-update…
Browse files Browse the repository at this point in the history
…-api-note

HOSTEDCP-1046: Add ImageDigestMirrorSet to Config API comment
  • Loading branch information
openshift-merge-robot authored Aug 1, 2023
2 parents 1fc3c32 + da698dc commit b79df9e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion api/v1beta1/nodepool_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,9 @@ type NodePoolSpec struct {
// KubeletConfig
// ContainerRuntimeConfig
// MachineConfig
// or
// ImageContentSourcePolicy
// or
// ImageDigestMirrorSet
//
// +kubebuilder:validation:Optional
Config []corev1.LocalObjectReference `json:"config,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,8 @@ spec:
is defined here: \n https://github.com/openshift/machine-config-operator/blob/18963e4f8fe66e8c513ca4b131620760a414997f/pkg/apis/machineconfiguration.openshift.io/v1/types.go#L185
\n Each ConfigMap must have a single key named \"config\" whose
value is the JSON or YAML of a serialized Resource for machineconfiguration.openshift.io:
KubeletConfig ContainerRuntimeConfig MachineConfig or ImageContentSourcePolicy"
KubeletConfig ContainerRuntimeConfig MachineConfig ImageContentSourcePolicy
or ImageDigestMirrorSet"
items:
description: LocalObjectReference contains enough information to
let you locate the referenced object inside the same namespace.
Expand Down
6 changes: 4 additions & 2 deletions docs/content/reference/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -642,8 +642,9 @@ JSON or YAML of a serialized Resource for machineconfiguration.openshift.io:
KubeletConfig
ContainerRuntimeConfig
MachineConfig
ImageContentSourcePolicy
or
ImageContentSourcePolicy</p>
ImageDigestMirrorSet</p>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -6189,8 +6190,9 @@ JSON or YAML of a serialized Resource for machineconfiguration.openshift.io:
KubeletConfig
ContainerRuntimeConfig
MachineConfig
ImageContentSourcePolicy
or
ImageContentSourcePolicy</p>
ImageDigestMirrorSet</p>
</td>
</tr>
<tr>
Expand Down
3 changes: 2 additions & 1 deletion hack/app-sre/saas_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43729,7 +43729,8 @@ objects:
schema is defined here: \n https://github.com/openshift/machine-config-operator/blob/18963e4f8fe66e8c513ca4b131620760a414997f/pkg/apis/machineconfiguration.openshift.io/v1/types.go#L185
\n Each ConfigMap must have a single key named \"config\" whose
value is the JSON or YAML of a serialized Resource for machineconfiguration.openshift.io:
KubeletConfig ContainerRuntimeConfig MachineConfig or ImageContentSourcePolicy"
KubeletConfig ContainerRuntimeConfig MachineConfig ImageContentSourcePolicy
or ImageDigestMirrorSet"
items:
description: LocalObjectReference contains enough information
to let you locate the referenced object inside the same namespace.
Expand Down

0 comments on commit b79df9e

Please sign in to comment.