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 python runner oauth2 #506

Merged
merged 4 commits into from
Nov 4, 2022
Merged

Conversation

freeznet
Copy link
Member

@freeznet freeznet commented Nov 3, 2022

Fixes #489

(or if this PR is one task of a github issue, please add Master Issue: #<xyz> to link to the master issue.)

Master Issue: #

Motivation

Make changes according to #489 (comment)

Modifications

Describe the modifications you've done.

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@github-actions
Copy link

github-actions bot commented Nov 3, 2022

@freeznet:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

2 similar comments
@github-actions
Copy link

github-actions bot commented Nov 3, 2022

@freeznet:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions
Copy link

github-actions bot commented Nov 3, 2022

@freeznet:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions github-actions bot added the doc-info-missing This pr needs to mark a document option in description label Nov 3, 2022
@github-actions github-actions bot removed the doc-info-missing This pr needs to mark a document option in description label Nov 3, 2022
@github-actions
Copy link

github-actions bot commented Nov 3, 2022

@freeznet:Thanks for providing doc info!

@github-actions github-actions bot added the no-need-doc This pr does not need any document label Nov 3, 2022
Comment on lines 32 to 43
pod:
volumes:
- name: secret-broker-0
secret:
defaultMode: 420
secretName: sn-platform-oauth2-private-key
clusterName: test
autoAck: true
volumeMounts:
- mountPath: /mnt/secrets
name: sn-platform-oauth2-private-key
readOnly: true
Copy link
Contributor

Choose a reason for hiding this comment

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

I think volumes[0].name and volumeMounts[0].name should be the same

@freeznet
Copy link
Member Author

freeznet commented Nov 4, 2022

disable the legacy test case and tracking with #508

@freeznet freeznet merged commit 2afa7e2 into master Nov 4, 2022
@freeznet freeznet deleted the freeznet/fix-python-runner-oauth2 branch November 4, 2022 08:45
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.

Python instance can not request oauth2 tokens
3 participants