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

Support regex assertion in snapshots #280

Open
jdiegosierra opened this issue Jan 15, 2024 · 0 comments
Open

Support regex assertion in snapshots #280

jdiegosierra opened this issue Jan 15, 2024 · 0 comments
Labels

Comments

@jdiegosierra
Copy link
Contributor

jdiegosierra commented Jan 15, 2024

I want to check if any value is null:

  apiVersion: networking.k8s.io/v1
  kind: NetworkPolicy
  metadata:
    labels:
      app: test-cluster
      app.kubernetes.io/version: null
matchSnapshot:
  notMatchRegex:
    pattern: null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants