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

Don't leave the apm_secret_token unknown if we're not adding APM or Integrations Server in the current plan. #689

Merged
merged 7 commits into from
Aug 21, 2023

Conversation

tobio
Copy link
Member

@tobio tobio commented Aug 13, 2023

Description

There's only two cases where the secret token may become populated, that's when APM or Integrations Server resources are created for the first time. All other times we should not leave this attribute as unknown.

Related Issues

Fixes #684

Motivation and Context

How Has This Been Tested?

Manually, unit tests.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (improves code quality but has no user-facing effect)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation

Readiness Checklist

  • My code follows the code style of this project
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

@tobio tobio requested a review from dimuon August 13, 2023 11:53
@tobio tobio self-assigned this Aug 13, 2023
@tobio tobio requested a review from a team as a code owner August 13, 2023 11:53
tobio added 2 commits August 21, 2023 08:21
…pdates

* upstream/master:
  Update documentation, CHANGELOG.md, and NOTICE
  Prevent an endless diff loop for deployments with no trust defined (elastic#687)
  Update documentation, CHANGELOG.md, and NOTICE
  Set the deployment id in state as soon as it's available to avoid unmanaged resources (elastic#690)
  Update documentation, CHANGELOG.md, and NOTICE
  Deployment data source should treat stopped deployments consistently to the deployment resource.  (elastic#688)
  Update documentation, CHANGELOG.md, and NOTICE
  Update golang.org/x/exp digest to 89c5cff (elastic#685)
@tobio tobio requested a review from dimuon August 20, 2023 22:22
Copy link
Contributor

@dimuon dimuon left a comment

Choose a reason for hiding this comment

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

LGTM

@tobio tobio merged commit e4e72ea into elastic:master Aug 21, 2023
@tobio tobio deleted the no-secret-token-updates branch August 21, 2023 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Elastic cloud provider version 0.8.0 adding apm_secret_token everytime pipeline runs
2 participants