added support for dockerconfigjson regcred
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-10-30 00:34:54 +02:00
parent 2c9d1794a5
commit 06efcf1a55
9 changed files with 230 additions and 18 deletions

View File

@ -12,7 +12,7 @@ spec:
shortNames:
- bws
versions:
- name: v1beta2
- name: v1beta3
served: true
storage: true
schema:

View File

@ -0,0 +1,43 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: registry-credentials.lerentis.uploadfilter24.eu
spec:
scope: Namespaced
group: lerentis.uploadfilter24.eu
names:
kind: RegistryCredential
plural: registry-credentials
singular: registry-credential
shortNames:
- rgc
versions:
- name: v1beta3
served: true
storage: true
schema:
openAPIV3Schema:
type: object
properties:
spec:
type: object
properties:
usernameRef:
type: string
passwordRef:
type: string
registry:
type: string
id:
type: string
namespace:
type: string
name:
type: string
required:
- id
- namespace
- name
- usernameRef
- passwordRef
- registry