Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Fix failing helm upgrade #1325

Merged
manno merged 1 commit intocloudfoundry-incubator:masterfrom
HCL-Cloud-Native-Labs:master
Jun 25, 2021
Merged

Fix failing helm upgrade #1325
manno merged 1 commit intocloudfoundry-incubator:masterfrom
HCL-Cloud-Native-Labs:master

Conversation

@jbuns
Copy link

@jbuns jbuns commented Jun 15, 2021

Motivation and Context

Fix failing helm upgrade when using .Values.global.image.credentials.

Fixes #1311

Checklist:

Check item if necessary.

  • Review PRs of changed Quarks dependencies
  • Update this PR after the release of Quarks dependencies

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/178543209

The labels on this github issue will be updated when the story is started.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jun 15, 2021

CLA Signed

The committers are authorized under a signed CLA.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/178543556

The labels on this github issue will be updated when the story is started.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/178543719

The labels on this github issue will be updated when the story is started.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/178543796

The labels on this github issue will be updated when the story is started.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/178543847

The labels on this github issue will be updated when the story is started.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/178543877

The labels on this github issue will be updated when the story is started.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/178552384

The labels on this github issue will be updated when the story is started.

"helm.sh/hook-delete-policy": before-hook-creation
{{- if $.Values.global.image.credentials }}
imagePullSecrets:
- name: {{$hook}}-pull-secret
Copy link
Member

@jandubois jandubois Jun 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you really need to define additional secrets, you can just reference the operator service account secret:

- name: {{ template "cf-operator.serviceAccountName" . }}-pull-secret

I don't care too much, but generally dislike redundant config. Just makes debugging harder than it needs to be. :)

But otherwise the change looks fine. I'll let @manno decide if he is going to accept it as-is, or wants any changes.

@jandubois jandubois requested a review from manno June 18, 2021 16:47
@manno manno merged commit b3ee44d into cloudfoundry-incubator:master Jun 25, 2021
@manno
Copy link
Member

manno commented Jun 25, 2021

@jbuns
Copy link
Author

jbuns commented Jun 28, 2021

thanks, @manno!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

upgrade of kubeCF from version 2.7.12 to 2.7.13 fails when using "helm upgrade"

4 participants