2020-07-28 23:55:50 +00:00
|
|
|
#@ load("@ytt:data", "data")
|
|
|
|
|
2020-08-21 16:55:44 +00:00
|
|
|
#! Example of valid CredentialIssuerConfig object:
|
2020-07-29 20:14:50 +00:00
|
|
|
#! ---
|
2020-08-20 17:54:15 +00:00
|
|
|
#! apiVersion: crd.pinniped.dev/v1alpha1
|
2020-08-21 16:55:44 +00:00
|
|
|
#! kind: CredentialIssuerConfig
|
2020-07-29 20:14:50 +00:00
|
|
|
#! metadata:
|
2020-08-21 16:55:44 +00:00
|
|
|
#! name: credential-issuer-config
|
2020-07-29 20:14:50 +00:00
|
|
|
#! namespace: integration
|
|
|
|
#! spec:
|
|
|
|
#! server: https://foo
|
|
|
|
#! certificateAuthorityData: bar
|
|
|
|
|
2020-07-28 23:55:50 +00:00
|
|
|
---
|
|
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
|
|
kind: CustomResourceDefinition
|
|
|
|
metadata:
|
2020-08-21 16:55:44 +00:00
|
|
|
name: credentialissuerconfigs.crd.pinniped.dev
|
2020-07-28 23:55:50 +00:00
|
|
|
spec:
|
2020-08-20 17:54:15 +00:00
|
|
|
group: crd.pinniped.dev
|
2020-07-28 23:55:50 +00:00
|
|
|
versions:
|
2020-07-29 20:14:50 +00:00
|
|
|
#! Any changes to these schemas should also be reflected in the types.go file(s)
|
2020-08-20 17:54:15 +00:00
|
|
|
#! in https://github.com/suzerain-io/pinniped-api/tree/main/pkg/apis/pinniped
|
2020-07-28 23:55:50 +00:00
|
|
|
- name: v1alpha1
|
|
|
|
served: true
|
|
|
|
storage: true
|
|
|
|
schema:
|
|
|
|
openAPIV3Schema:
|
|
|
|
type: object
|
2020-07-29 20:14:50 +00:00
|
|
|
required: [spec]
|
2020-07-28 23:55:50 +00:00
|
|
|
properties:
|
|
|
|
spec:
|
|
|
|
type: object
|
2020-07-29 20:17:55 +00:00
|
|
|
required: [server, certificateAuthorityData]
|
2020-07-28 23:55:50 +00:00
|
|
|
properties:
|
|
|
|
server:
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-08-17 23:29:21 +00:00
|
|
|
pattern: '^https://|^http://'
|
2020-07-28 23:55:50 +00:00
|
|
|
certificateAuthorityData:
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
scope: Namespaced
|
|
|
|
names:
|
2020-08-21 16:55:44 +00:00
|
|
|
plural: credentialissuerconfigs
|
|
|
|
singular: credentialissuerconfig
|
|
|
|
kind: CredentialIssuerConfig
|
2020-07-28 23:55:50 +00:00
|
|
|
shortNames:
|
2020-08-21 16:55:44 +00:00
|
|
|
- cic
|