Skip to content

Commit

Permalink
config: Deprecate build.spec.additionalTrustedCA
Browse files Browse the repository at this point in the history
AdditionalTrustedCAs referenced in build.config.openshift.io/cluster
were never used in OpenShift 4.1.
Mark existing field as deprecated and schedule for future removal.
  • Loading branch information
adambkaplan committed May 28, 2019
1 parent 2963b4d commit c632ced
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions config/v1/types_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ type BuildSpec struct {
// AdditionalTrustedCA is a reference to a ConfigMap containing additional CAs that
// should be trusted for image pushes and pulls during builds.
// The namespace for this config map is openshift-config.
//
// Deprecated: this reference is not used in OpenShift builds.
// Configure additional CAs by setting the `spec.additionalTrustedCA` ConfigMap
// reference on the `image.config.openshift.io/cluster` object instead.
//
// +optional
AdditionalTrustedCA ConfigMapNameReference `json:"additionalTrustedCA"`
// BuildDefaults controls the default information for Builds
Expand Down
2 changes: 1 addition & 1 deletion config/v1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c632ced

Please sign in to comment.