-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
-
None
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The getAdoptMetadataJSONSecretName() function returns the wrong secret name, causing it to conflict with the admin kubeconfig secret name. https://github.com/openshift/hive/blob/master/pkg/clusterresource/builder.go#L691-L692
When adopting a cluster with --adopt-metadata-json, two different secrets would have the same name:
- Admin kubeconfig secret: {clusterName}-adopted-admin-kubeconfig
- Metadata JSON secret: {clusterName}-adopted-admin-kubeconfig (should be {clusterName}-metadata-json)
- is caused by
-
HIVE-2302 Pass installer's metadata.json directly to destroyer
-
- Review
-
- links to