(client crclient.Client)
| 68 | } |
| 69 | |
| 70 | func deleteMigratedConfigmap(client crclient.Client) error { |
| 71 | obsoleteConfigmap := &corev1.ConfigMap{ |
| 72 | ObjectMeta: metav1.ObjectMeta{ |
| 73 | Name: configmap.ConfigMapReference.Name, |
| 74 | Namespace: configmap.ConfigMapReference.Namespace, |
| 75 | }, |
| 76 | } |
| 77 | return client.Delete(context.Background(), obsoleteConfigmap) |
| 78 | } |
| 79 | |
| 80 | // convertConfigMapToConfigCRD converts a earlier devworkspace configuration configmap (if present) |
| 81 | // into a DevWorkspaceOperatorConfig. Values matching the current default config settings are ignored. |
no outgoing calls
no test coverage detected