Skip to content

test(spy-server): add tests & verify#307

Draft
stefan-ctrl wants to merge 13 commits intofeat/spy-serverfrom
feat/spy-server-verify
Draft

test(spy-server): add tests & verify#307
stefan-ctrl wants to merge 13 commits intofeat/spy-serverfrom
feat/spy-server-verify

Conversation

@stefan-ctrl
Copy link
Copy Markdown
Member

No description provided.

@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Copy link
Copy Markdown
Member

@ron96g ron96g left a comment

Choose a reason for hiding this comment

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

I cannot find any tests for the obfuscated secrets "******" (atleast not in the snapshosts). Could you check if this is working and add tests for it?

@@ -0,0 +1,1367 @@

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we split this snapshot file? Mayb per controller or something else?

// Secrets maps CRD kind names to the JSON field paths within that kind
// that may contain secret-manager placeholders (e.g. "$<secret-id>").
// Only used when SecretManager.Enabled is true.
Secrets map[string][]string `json:"secrets" yaml:"secrets" mapstructure:"secrets"`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

what is the benefit of making this configurable?

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.

3 participants