Skip to content

Commit

Permalink
Small fixes. Update TLS certs job image
Browse files Browse the repository at this point in the history
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>
  • Loading branch information
mmorhun committed Nov 8, 2021
1 parent eb71efb commit 6fe6ca8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ spec:
- name: RELATED_IMAGE_devfile_registry
value: quay.io/eclipse/che-devfile-registry:next
- name: RELATED_IMAGE_che_tls_secrets_creation_job
value: quay.io/eclipse/che-tls-secret-creator:alpine-d1ed4ad
value: quay.io/eclipse/che-tls-secret-creator:alpine-01a4c34
- name: RELATED_IMAGE_pvc_jobs
value: registry.access.redhat.com/ubi8-minimal:8.4-210
value: registry.access.redhat.com/ubi8-minimal:8.4-212
- name: RELATED_IMAGE_postgres
value: quay.io/eclipse/che--centos--postgresql-96-centos7:9.6-b681d78125361519180a6ac05242c296f8906c11eab7e207b5ca9a89b6344392
- name: RELATED_IMAGE_postgres_13_3
Expand Down
8 changes: 4 additions & 4 deletions pkg/deploy/migrate-labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ func MigrateCheResourcesLabels(nonCachingClient client.Client) bool {
noErrors := true

// Prepare selector
chePartOfSelectorRequirement, err := labels.NewRequirement(KubernetesPartOfLabelKey, selection.Equals, []string{CheEclipseOrg})
partOfCheSelectorRequirement, err := labels.NewRequirement(KubernetesPartOfLabelKey, selection.Equals, []string{CheEclipseOrg})
if err != nil {
logrus.Error("Failed to create selector for resources migration. All custom user objects are lost.")
logrus.Error("Failed to create selector for resources migration. Unable to perform resources migration.")
return false
}
partOfCheLebelSelector := labels.NewSelector().Add(*chePartOfSelectorRequirement)
partOfCheLabelSelector := labels.NewSelector().Add(*partOfCheSelectorRequirement)
listOptions := &client.ListOptions{
LabelSelector: partOfCheLebelSelector,
LabelSelector: partOfCheLabelSelector,
}

// Migrate all config maps
Expand Down

0 comments on commit 6fe6ca8

Please sign in to comment.