Skip to content

Commit c6a0bd3

Browse files
committed
K8S-683 registry-creds update
1 parent c8891e2 commit c6a0bd3

File tree

1 file changed

+100
-44
lines changed

1 file changed

+100
-44
lines changed

addons/registry-creds/registry-creds-system.yaml

Lines changed: 100 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ apiVersion: apiextensions.k8s.io/v1
99
kind: CustomResourceDefinition
1010
metadata:
1111
annotations:
12-
controller-gen.kubebuilder.io/version: v0.2.6
12+
controller-gen.kubebuilder.io/version: v0.6.2
1313
creationTimestamp: null
1414
name: clusterpullsecrets.ops.alexellis.io
1515
spec:
@@ -21,44 +21,55 @@ spec:
2121
singular: clusterpullsecret
2222
scope: Cluster
2323
versions:
24-
- name: v1
25-
served: true
26-
storage: true
27-
subresources: {}
28-
additionalPrinterColumns:
24+
- additionalPrinterColumns:
2925
- jsonPath: .spec.secretRef.name
3026
name: SecretName
3127
type: string
3228
- jsonPath: .spec.secretRef.namespace
3329
name: SecretNamespace
3430
type: string
31+
name: v1
3532
schema:
3633
openAPIV3Schema:
3734
description: ClusterPullSecret is the Schema for the clusterpullsecrets API
3835
properties:
3936
apiVersion:
40-
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
37+
description: 'APIVersion defines the versioned schema of this representation
38+
of an object. Servers should convert recognized schemas to the latest
39+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
4140
type: string
4241
kind:
43-
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
42+
description: 'Kind is a string value representing the REST resource this
43+
object represents. Servers may infer this from the endpoint the client
44+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
4445
type: string
4546
metadata:
4647
type: object
4748
spec:
4849
description: ClusterPullSecretSpec defines the desired state of ClusterPullSecret
4950
properties:
5051
secretRef:
52+
description: ObjectMeta contains enough information to locate the
53+
referenced Kubernetes resource object in any namespace.
5154
properties:
5255
name:
56+
description: Name of the referent.
5357
type: string
5458
namespace:
59+
description: Namespace of the referent, when not specified it
60+
acts as LocalObjectReference.
5561
type: string
62+
required:
63+
- name
5664
type: object
5765
type: object
5866
status:
5967
description: ClusterPullSecretStatus defines the observed state of ClusterPullSecret
6068
type: object
6169
type: object
70+
served: true
71+
storage: true
72+
subresources: {}
6273
status:
6374
acceptedNames:
6475
kind: ""
@@ -88,41 +99,86 @@ metadata:
8899
creationTimestamp: null
89100
name: registry-creds-registry-creds-role
90101
rules:
91-
- apiGroups:
92-
- ""
93-
resources:
94-
- namespaces
95-
verbs:
96-
- get
97-
- list
98-
- watch
99-
- apiGroups:
100-
- ""
101-
resources:
102-
- secrets
103-
verbs:
104-
- create
105-
- get
106-
- list
107-
- watch
108-
- apiGroups:
109-
- ""
110-
resources:
111-
- serviceaccounts
112-
verbs:
113-
- get
114-
- list
115-
- patch
116-
- update
117-
- watch
118-
- apiGroups:
119-
- ops.alexellis.io
120-
resources:
121-
- clusterpullsecrets
122-
verbs:
123-
- get
124-
- list
125-
- watch
102+
- apiGroups:
103+
- ""
104+
resources:
105+
- namespaces
106+
verbs:
107+
- create
108+
- delete
109+
- get
110+
- list
111+
- patch
112+
- update
113+
- watch
114+
- apiGroups:
115+
- ""
116+
resources:
117+
- namespaces/status
118+
verbs:
119+
- get
120+
- patch
121+
- update
122+
- apiGroups:
123+
- ""
124+
resources:
125+
- secrets
126+
verbs:
127+
- create
128+
- delete
129+
- get
130+
- list
131+
- patch
132+
- update
133+
- watch
134+
- apiGroups:
135+
- ""
136+
resources:
137+
- secrets/status
138+
verbs:
139+
- get
140+
- patch
141+
- update
142+
- apiGroups:
143+
- ""
144+
resources:
145+
- serviceaccounts
146+
verbs:
147+
- create
148+
- delete
149+
- get
150+
- list
151+
- patch
152+
- update
153+
- watch
154+
- apiGroups:
155+
- ""
156+
resources:
157+
- serviceaccounts/status
158+
verbs:
159+
- get
160+
- patch
161+
- update
162+
- apiGroups:
163+
- ops.alexellis.io
164+
resources:
165+
- clusterpullsecrets
166+
verbs:
167+
- create
168+
- delete
169+
- get
170+
- list
171+
- patch
172+
- update
173+
- watch
174+
- apiGroups:
175+
- ops.alexellis.io
176+
resources:
177+
- clusterpullsecrets/status
178+
verbs:
179+
- get
180+
- patch
181+
- update
126182
---
127183
apiVersion: rbac.authorization.k8s.io/v1
128184
kind: RoleBinding
@@ -173,7 +229,7 @@ spec:
173229
- --enable-leader-election
174230
command:
175231
- /controller
176-
image: ghcr.io/alexellis/registry-creds:0.2.6
232+
image: ghcr.io/alexellis/registry-creds:0.3.1
177233
imagePullPolicy: IfNotPresent
178234
name: controller
179235
resources:

0 commit comments

Comments
 (0)