Files
kustomize/functions/examples/validator-kubeval/local-resource/example-use.yaml
2019-12-13 09:55:51 -06:00

34 lines
863 B
YAML

# Copyright 2019 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0
apiVersion: examples.config.kubernetes.io/v1beta1
kind: Kubeval
metadata:
configFn:
container:
image: gcr.io/kustomize-functions/example-validator-kubeval:v0.1.0
spec:
strict: true
ignoreMissingSchemas: true
# TODO: Remove these once function container network/volumes features are
# stabilized.
# Relevant issues:
# - https://github.com/kubernetes-sigs/kustomize/issues/1901
# - https://github.com/kubernetes-sigs/kustomize/issues/1902
kubernetesVersion: "1.16.0"
schemaLocation: "file:///schemas"
---
apiVersion: v1
kind: Service
metadata:
name: svc
spec:
clusterIP: None
publishNotReadyAddresses: true
prots: # Fix this typo ("ports") to pass validation.
- port: 2380
name: etcd-server-ssl
- port: 2379
name: etcd-client-ssl