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

[IOP]Namespace labels #1823

Merged
merged 3 commits into from
Feb 24, 2023
Merged

Conversation

pawan0306
Copy link
Contributor

@pawan0306 pawan0306 commented Feb 20, 2023

This pull request adds support for configuring custom labels on namespace created by Interoperator.
The label, app.kubernetes.io/managed-by: Interoperator is added as an example which is useful for identifying the namespaces manged by Interoperator.

Snippet from values.yaml,

broker: 
  enable_namespaced_separation: true
  services_namespace_labels: 
  	# Note: The labels are igonored if enable_namespaced_separation is false.
	app.kubernetes.io/managed-by: Interoperator
	# Try out Pod Security Admission in k8s v1.25
	# pod-security.kubernetes.io/warn: restricted
        # pod-security.kubernetes.io/warn-version: v1.25

Copy link
Contributor

@anoopjb anoopjb left a comment

Choose a reason for hiding this comment

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

👍 🆒

@anoopjb
Copy link
Contributor

anoopjb commented Feb 20, 2023

@pawan0306, It will be good add this information on docs/Interoperator-Features.md

@pawan0306 pawan0306 changed the title Namespace labels [IOP]Namespace labels Feb 23, 2023
@anoopjb anoopjb merged commit 0aa76c8 into cloudfoundry:master Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants