Created
March 11, 2021 20:25
-
-
Save pivotaljohn/514800ba45089dbf5d9b7b562a3f063d to your computer and use it in GitHub Desktop.
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
#@ load("@ytt:overlay", "overlay") | |
#@overlay/match by=overlay.subset({"kind": "Service"}) | |
--- | |
metadata: | |
#@overlay/assert via=lambda l,r: (len(l) <= 20, "names must be 20 characters or less") | |
name: |
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
--- | |
kind: Service | |
apiVersion: v1 | |
metadata: | |
name: a-service-with-a-really-long-name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment