1301018655
- New optional ytt value called `into_namespace` means install into that preexisting namespace rather than creating a new namespace for each app - Also ensure that every resource that is created statically by our yaml at install-time by either app is labeled consistently - Also support adding custom labels to all of those resources from a new ytt value called `custom_labels`
18 lines
619 B
YAML
18 lines
619 B
YAML
#! Copyright 2020 the Pinniped contributors. All Rights Reserved.
|
|
#! SPDX-License-Identifier: Apache-2.0
|
|
|
|
#@ load("@ytt:overlay", "overlay")
|
|
#@ load("helpers.lib.yaml", "labels")
|
|
|
|
#@overlay/match by=overlay.subset({"kind": "CustomResourceDefinition", "metadata":{"name":"credentialissuerconfigs.config.pinniped.dev"}}), expects=1
|
|
---
|
|
metadata:
|
|
#@overlay/match missing_ok=True
|
|
labels: #@ labels()
|
|
|
|
#@overlay/match by=overlay.subset({"kind": "CustomResourceDefinition", "metadata":{"name":"webhookidentityproviders.idp.pinniped.dev"}}), expects=1
|
|
---
|
|
metadata:
|
|
#@overlay/match missing_ok=True
|
|
labels: #@ labels()
|