Skip to content

Commit

Permalink
Move defaultconfig.yaml to bindata/v3.11.0/config
Browse files Browse the repository at this point in the history
  • Loading branch information
marun committed Feb 4, 2020
1 parent bf1bd30 commit 00ae34a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ Currently changes in following external components are being observed:
- The observed CR resource is used to configure the Project request defaults
* `cluster` *ingress.config.openshift.io* custom resource
- The observed CR resource is used to set `routingConfig.subdomain` in the OpenShift API server configuration.


The configuration for the OpenShift API server is the result of merging:

* a [default config](https://github.com/openshift/cluster-openshift-apiserver-operator/blob/master/bindata/v3.11.0/openshift-apiserver/defaultconfig.yaml)
* a [default config](https://github.com/openshift/cluster-openshift-apiserver-operator/blob/master/bindata/v3.11.0/config/defaultconfig.yaml)
* observed config (compare observed values above) `spec.spec.unsupportedConfigOverrides` from the `openshiftapiserveroperatorconfig`.

All of these are sparse configurations, i.e. unvalidated json snippets which are merged in order to form a valid configuration at the end.
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ func manageOpenShiftAPIServerImageImportCA_v311_00_to_latest(openshiftConfigClie

func manageOpenShiftAPIServerConfigMap_v311_00_to_latest(kubeClient kubernetes.Interface, client coreclientv1.ConfigMapsGetter, recorder events.Recorder, operatorConfig *operatorv1.OpenShiftAPIServer) (*corev1.ConfigMap, bool, error) {
configMap := resourceread.ReadConfigMapV1OrDie(v311_00_assets.MustAsset("v3.11.0/openshift-apiserver/cm.yaml"))
defaultConfig := v311_00_assets.MustAsset("v3.11.0/openshift-apiserver/defaultconfig.yaml")
defaultConfig := v311_00_assets.MustAsset("v3.11.0/config/defaultconfig.yaml")
requiredConfigMap, _, err := resourcemerge.MergePrunedConfigMap(
&openshiftcontrolplanev1.OpenShiftAPIServerConfig{},
configMap,
Expand Down

0 comments on commit 00ae34a

Please sign in to comment.