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

allow specification of more diverse kubectl verbs in functional testing #58

Open
ilrudie opened this issue Oct 14, 2020 · 1 comment
Open
Labels
ci enhancement New feature or request

Comments

@ilrudie
Copy link
Contributor

ilrudie commented Oct 14, 2020

What would you like to be added:
Investigate update to functional testing to allow verbs such as kubectl create instead of only supporting apply.

Why is this needed:
Adds capability to the CI to test a more diverse spectra of polices covering a wider variety of changes which might be requested against a cluster.

@ilrudie ilrudie added the enhancement New feature or request label Oct 14, 2020
@ilrudie
Copy link
Contributor Author

ilrudie commented Oct 14, 2020

Ideas:

  - manifests
  - test-deploy01.yaml
  - create:"kubectl create blah blah"
  - delete:test-deploy01.yaml
  - kind: deployments
    desired: fail
    script: 
    manifests:
      - test-deploy02.yaml
    singletons:
      - "kubectl create something"
  - kind: deployments
    desired: fail
    script: 
    manifests:
      - test-deploy02.yaml
    creates:
      - "something"

@phenixblue phenixblue added the ci label Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants