-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to change internal tls from true to false #640
Comments
it seems we are using |
2021-05-27T07:37:32.330Z ERROR harbor-operator.controller Cannot deploy resource {"controller": "core", "version": "v1.0.0", "git.commit": "53ffaeae2c5406a5a9f7da9c9a787b28dc21362b", "request": "cluster-sample-ns/harborcluster-sample-harbor-harbor", "resource.apiVersion": "apps/v1", "resource.kind": "Deployment", "resource.name": "harborcluster-sample-harbor-harbor-core", "resource.namespace": "cluster-sample-ns", "error": "Deployment.apps "harborcluster-sample-harbor-harbor-core" is invalid: [spec.template.spec.volumes[6].secret: Forbidden: may not specify more than 1 volume type, spec.template.spec.containers[0].volumeMounts[6].name: Not found: "internal-certificates"]"} |
The patch strategy for deployment.podspec.volumes is |
For this issue only: } else {
envs = append(envs, corev1.EnvVar{
Name: "INTERNAL_TLS_TRUST_CA_PATH",
Value: "",
}, corev1.EnvVar{
Name: "INTERNAL_TLS_CERT_PATH",
Value: "",
}, corev1.EnvVar{
Name: "INTERNAL_TLS_KEY_PATH",
Value: "",
})
} The merge strategy on the But the issue of merging fields is more global and should (also) be handled at an upper level.
|
this issue still have problem, that component |
duplicated with #743 |
The text was updated successfully, but these errors were encountered: