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

Do not prune by default #118

Merged
merged 4 commits into from
Jun 20, 2018
Merged

Do not prune by default #118

merged 4 commits into from
Jun 20, 2018

Conversation

adrianchifor
Copy link
Member

@adrianchifor adrianchifor commented Jun 8, 2018

Pruning breaks NetworkPolicy objects, for example in the default-deny case where podSelector and ingress have to be defined:

kind: NetworkPolicy
apiVersion: networking.k8s.io/v1
metadata:
  name: default-deny
spec:
  podSelector: {}
  ingress: []

Default behaviour for no prune is more predictable and clear, with the option of adding --prune to compile if you want cleaner output.

@ademariag
Copy link
Contributor

I'm afraid of hidden consequences this could have, I'd like this to be tested for longer.

@gburiola
Copy link
Contributor

gburiola commented Jun 8, 2018

lgtm but agree with Ale. We should probably compile with this new version and apply everywhere while watching for things changing.

we should also test creating new targets from scratch.

This is a big breaking change so we should also bump version to 0.17.0

@adrianchifor
Copy link
Member Author

Will merge next week if testing goes ok

@@ -64,7 +64,7 @@ def main():
help='set search path, default is "."')
compile_parser.add_argument('--verbose', '-v', help='set verbose mode',
action='store_true', default=False)
compile_parser.add_argument('--no-prune', help='do not prune jsonnet output',
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we could keep it for a while and add a warning that it will be removed in the next version?

Updated rsa key format to PKCS#8


Updated README.md


Merge pull request #120 from deepmind/rsa-function-update

Updated RSA key format to PKCS#8
Updated CHANGELOG.md


Version incremenet 0.16.11

Fixed typo in make_release.sh


Merge branch 'master' into disable-prune-by-default


Add pretty_printer option to searchvar

Merge pull request #121 from deepmind/searchvar_pretty_printer

Add pretty_printer option to searchvar
Merge branch 'master' into disable-prune-by-default


Removed minikube-es-2 from examples


Updated demo gif


Updated example libjsonnet


Updated requests to 2.19.1


Merge pull request #124 from deepmind/deps

Updated requests to 2.19.1
Removing monitoring from example libs for now


Merge pull request #123 from deepmind/examples-update

Examples update
Merge branch 'master' into disable-prune-by-default
@adrianchifor adrianchifor force-pushed the disable-prune-by-default branch from 97c7a7b to 84b9203 Compare June 19, 2018 16:25
@adrianchifor adrianchifor merged commit f8c3e46 into master Jun 20, 2018
@adrianchifor adrianchifor deleted the disable-prune-by-default branch June 20, 2018 09:52
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.

4 participants