|
| 1 | +{ |
| 2 | + "_comment": [ |
| 3 | + "Single source of truth for OpenAPI schema generation.", |
| 4 | + "Static fields (source, merge_keys, version, package_name, ref_rule)", |
| 5 | + "are manually maintained.", |
| 6 | + "Dynamic fields (subscription_channel, components, source.github.ref)", |
| 7 | + "are updated by: python3 hack/generate-schema-config.py", |
| 8 | + "To regenerate schemas: make generate-openapi-schemas" |
| 9 | + ], |
| 10 | + "crds": [ |
| 11 | + { |
| 12 | + "name": "PtpConfig", |
| 13 | + "package_name": "ptp-operator", |
| 14 | + "ref_rule": "release-ocp", |
| 15 | + "components": [ |
| 16 | + "ran" |
| 17 | + ], |
| 18 | + "subscription_channel": "stable", |
| 19 | + "source": { |
| 20 | + "github": { |
| 21 | + "owner": "openshift", |
| 22 | + "repo": "ptp-operator", |
| 23 | + "ref": "release-4.22", |
| 24 | + "path": "config/crd/bases/ptp.openshift.io_ptpconfigs.yaml" |
| 25 | + } |
| 26 | + }, |
| 27 | + "merge_keys": { |
| 28 | + "spec.profile": "name", |
| 29 | + "spec.recommend": "profile", |
| 30 | + "status.matchList": "nodeName" |
| 31 | + } |
| 32 | + }, |
| 33 | + { |
| 34 | + "name": "ClusterLogForwarder", |
| 35 | + "package_name": "cluster-logging", |
| 36 | + "ref_rule": "release-channel", |
| 37 | + "components": [ |
| 38 | + "core", |
| 39 | + "ran" |
| 40 | + ], |
| 41 | + "subscription_channel": "stable-6.5", |
| 42 | + "source": { |
| 43 | + "github": { |
| 44 | + "owner": "openshift", |
| 45 | + "repo": "cluster-logging-operator", |
| 46 | + "ref": "release-6.5", |
| 47 | + "path": "config/crd/bases/observability.openshift.io_clusterlogforwarders.yaml" |
| 48 | + } |
| 49 | + }, |
| 50 | + "merge_keys": { |
| 51 | + "spec.filters": "name", |
| 52 | + "spec.inputs": "name", |
| 53 | + "spec.outputs": "name", |
| 54 | + "spec.pipelines": "name" |
| 55 | + } |
| 56 | + }, |
| 57 | + { |
| 58 | + "name": "Tuned", |
| 59 | + "ref_rule": "release-ocp", |
| 60 | + "components": [ |
| 61 | + "core", |
| 62 | + "ran" |
| 63 | + ], |
| 64 | + "subscription_channel": "built-in (NTO)", |
| 65 | + "source": { |
| 66 | + "github": { |
| 67 | + "owner": "openshift", |
| 68 | + "repo": "cluster-node-tuning-operator", |
| 69 | + "ref": "release-4.22", |
| 70 | + "path": "manifests/20-tuned.crd.yaml" |
| 71 | + } |
| 72 | + }, |
| 73 | + "merge_keys": { |
| 74 | + "spec.profile": "name", |
| 75 | + "spec.recommend": "profile" |
| 76 | + } |
| 77 | + }, |
| 78 | + { |
| 79 | + "name": "PerformanceProfile", |
| 80 | + "version": "v2", |
| 81 | + "ref_rule": "release-ocp", |
| 82 | + "components": [ |
| 83 | + "core", |
| 84 | + "ran" |
| 85 | + ], |
| 86 | + "subscription_channel": "built-in (NTO)", |
| 87 | + "source": { |
| 88 | + "github": { |
| 89 | + "owner": "openshift", |
| 90 | + "repo": "cluster-node-tuning-operator", |
| 91 | + "ref": "release-4.22", |
| 92 | + "path": "manifests/20-performance-profile.crd.yaml" |
| 93 | + } |
| 94 | + }, |
| 95 | + "merge_keys": {} |
| 96 | + }, |
| 97 | + { |
| 98 | + "name": "NUMAResourcesOperator", |
| 99 | + "package_name": "numaresources-operator", |
| 100 | + "ref_rule": "release-ocp", |
| 101 | + "components": [ |
| 102 | + "core" |
| 103 | + ], |
| 104 | + "subscription_channel": "4.22", |
| 105 | + "source": { |
| 106 | + "github": { |
| 107 | + "owner": "openshift-kni", |
| 108 | + "repo": "numaresources-operator", |
| 109 | + "ref": "release-4.22", |
| 110 | + "path": "config/crd/bases/nodetopology.openshift.io_numaresourcesoperators.yaml" |
| 111 | + } |
| 112 | + }, |
| 113 | + "merge_keys": { |
| 114 | + "spec.nodeGroups": "poolName" |
| 115 | + } |
| 116 | + }, |
| 117 | + { |
| 118 | + "name": "ImageDigestMirrorSet", |
| 119 | + "ref_rule": "release-ocp", |
| 120 | + "components": [ |
| 121 | + "core", |
| 122 | + "ran" |
| 123 | + ], |
| 124 | + "subscription_channel": "built-in (OCP)", |
| 125 | + "source": { |
| 126 | + "github": { |
| 127 | + "owner": "openshift", |
| 128 | + "repo": "api", |
| 129 | + "ref": "release-4.22", |
| 130 | + "path": "config/v1/zz_generated.crd-manifests/0000_10_config-operator_01_imagedigestmirrorsets.crd.yaml" |
| 131 | + } |
| 132 | + }, |
| 133 | + "merge_keys": { |
| 134 | + "spec.imageDigestMirrors": "source" |
| 135 | + } |
| 136 | + } |
| 137 | + ] |
| 138 | +} |
0 commit comments