airshipctl/pkg/document/testdata/initially_ignored.yaml
Alan Meadows 7eeb529053 Initial commit for document pkg library
This introduces two new interfaces to airshipctl:

* Bundle: represents a Kustomize rendered
collection of your documents that allows you to
iterate over or filter the documents in the bundle.

* Document: a thin wrapper around a rendered
document.

This commit also includes a proposal for a way to
represent YAML test fixtures as testdatafs.go
and a new testdata subfolder within the document
pkg.

Change-Id: I4282b27977617552c25c5ae2c3b7da44e67dd014
2019-10-04 14:22:26 -07:00

25 lines
548 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
airshipit.org/clustertype: target
name: some-random-deployment-we-will-filter
namespace: foobar
spec:
selector:
matchLabels:
app: some-random-deployment-we-will-filter
serviceAccountName: something
template:
metadata:
labels:
app: some-random-deployment-we-will-filter
spec:
containers:
- args:
- foobar
command:
- somecommand
image: someimage
name: some-random-deployment-we-will-filter