Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
Add label ui.giantswarm.io/display (#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
marians authored Mar 15, 2021
1 parent deca0a2 commit 4e19b0f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Add label `ui.giantswarm.io/display`.
- Add shortnames `org` and `orgs` for CRD `organizations.security.giantswarm.io`.

### Changed
Expand Down
11 changes: 11 additions & 0 deletions pkg/label/ui.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package label

// I the ui.giantswarm.io label namespace we define labels that
// exist in order to affect the user experience in user
// interfaces, like the Giant Swarm web UI or CLIs.

// Affects whether or not a resource is intended for display in
// a user interface. For example, it can be used to hide
// irrelevant system roles from users by default. The value can
// either be "true" or "false".
const DisplayInUserInterface = "ui.giantswarm.io/display"

0 comments on commit 4e19b0f

Please sign in to comment.