-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix OL annotations for kafka components (#57)
* Add component to easily add `oss` tag for services running 3rd party software, and used these for the Kafka clusters * Add required description, tier labels Note: patches are made as inline JSON6902 patches because of[1] [1] kubernetes-sigs/kustomize#5554 Ticket: DENA-480
- Loading branch information
1 parent
26e45c5
commit ebcfac4
Showing
5 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
|
||
|
||
patches: | ||
# add oss tag for objects running 3rd party software | ||
- target: | ||
version: v1 | ||
group: apps | ||
kind: Deployment | ||
patch: &oss-patch |- | ||
- op: add | ||
path: /metadata/annotations/app.uw.systems~1tags.oss | ||
value: "true" | ||
- target: | ||
version: v1 | ||
group: apps | ||
kind: StatefulSet | ||
patch: *oss-patch |