Skip to content
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

fix(k8s/runJob): Allowing only v1 accounts for v1 runJob #7258

Merged
merged 1 commit into from
Jul 24, 2019

Conversation

pdelagrave
Copy link

Using a v2 account would have com.netflix.spinnaker.clouddriver.kubernetes.v2.op.job.KubernetesRunJobOperation be called and throw an NPE at line 70, because there's no manifest.

Using a v2 account would have com.netflix.spinnaker.clouddriver.kubernetes.v2.op.job.KubernetesRunJobOperation be called and throw an NPE at line 70, because there's no manifest.
@pdelagrave
Copy link
Author

@ethanfrogers

Copy link
Contributor

@ethanfrogers ethanfrogers left a comment

Choose a reason for hiding this comment

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

🎆 LGTM!

@maggieneterval maggieneterval merged commit 4edc5f7 into spinnaker:master Jul 24, 2019
@ethanfrogers
Copy link
Contributor

@spinnakerbot cherry-pick 1.15

spinnakerbot pushed a commit that referenced this pull request Jul 24, 2019
Using a v2 account would have com.netflix.spinnaker.clouddriver.kubernetes.v2.op.job.KubernetesRunJobOperation be called and throw an NPE at line 70, because there's no manifest.
@spinnakerbot
Copy link
Contributor

Cherry pick successful: #7259

maggieneterval pushed a commit that referenced this pull request Jul 24, 2019
Using a v2 account would have com.netflix.spinnaker.clouddriver.kubernetes.v2.op.job.KubernetesRunJobOperation be called and throw an NPE at line 70, because there's no manifest.
@pdelagrave pdelagrave deleted the patch-1 branch July 24, 2019 18:22
christopherthielen added a commit to christopherthielen/deck that referenced this pull request Jul 26, 2019
4dba1b1 fix(k8s/runJob): External logs URL to support manifest with implicit default namespace (spinnaker#7252)
4edc5f7 fix(k8s/runJob): Allowing only v1 accounts for v1 runJob (spinnaker#7258)
christopherthielen added a commit that referenced this pull request Jul 26, 2019
4dba1b1 fix(k8s/runJob): External logs URL to support manifest with implicit default namespace (#7252)
4edc5f7 fix(k8s/runJob): Allowing only v1 accounts for v1 runJob (#7258)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants