Skip to content

Commit fb6d52d

Browse files
committed
IBM Security Verify generation
Signed-off-by: Andrew Block <andy.block@gmail.com>
1 parent 0c66579 commit fb6d52d

3 files changed

Lines changed: 142 additions & 49 deletions

File tree

api/v1alpha1/zz_generated.deepcopy.go

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/redhatcop.redhat.io_groupsyncs.yaml

Lines changed: 45 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,51 @@ spec:
337337
required:
338338
- credentialsSecret
339339
type: object
340+
ibmsecurityverify:
341+
description: IbmSecurityVerify represents the IBM Security Verify provider
342+
properties:
343+
credentialsSecret:
344+
description: CredentialsSecret is a reference to a secret containing authentication details for the IBM Security Verify server
345+
properties:
346+
key:
347+
description: Key represents the specific key to reference from the resource
348+
type: string
349+
kind:
350+
default: Secret
351+
description: Kind is a string value representing the resource type
352+
enum:
353+
- ConfigMap
354+
- Secret
355+
type: string
356+
name:
357+
description: Name represents the name of the resource
358+
type: string
359+
namespace:
360+
description: Namespace represents the namespace containing the resource
361+
type: string
362+
required:
363+
- name
364+
- namespace
365+
type: object
366+
groups:
367+
description: Groups is the list of ISV groups to synchronize
368+
items:
369+
properties:
370+
id:
371+
description: The ID of the group as defined in IBM Security Verify. This value can be found by using the API.
372+
type: string
373+
name:
374+
description: The display name of the group as defined in IBM Security Verify
375+
type: string
376+
type: object
377+
type: array
378+
tenantUrl:
379+
description: TenantURL is the location of the IBM Security Verify tenant
380+
type: string
381+
required:
382+
- credentialsSecret
383+
- tenantUrl
384+
type: object
340385
keycloak:
341386
description: Keycloak represents the Keycloak provider
342387
properties:
@@ -440,54 +485,6 @@ spec:
440485
- realm
441486
- url
442487
type: object
443-
ibmsecurityverify:
444-
description: The IBM Security Verify (ISV) provider
445-
properties:
446-
credentialsSecret:
447-
description: CredentialsSecret is a reference to a secret containing authentication details for the ISV server
448-
properties:
449-
key:
450-
description: Key represents the specific key to reference from the resource
451-
type: string
452-
kind:
453-
default: Secret
454-
description: Kind is a string value representing the resource type
455-
enum:
456-
- ConfigMap
457-
- Secret
458-
type: string
459-
name:
460-
description: Name represents the name of the resource
461-
type: string
462-
namespace:
463-
description: Namespace represents the namespace containing the resource
464-
type: string
465-
required:
466-
- name
467-
- namespace
468-
type: object
469-
groups:
470-
description: The ISV groups to synchronize
471-
type: array
472-
items:
473-
type: object
474-
properties:
475-
name:
476-
description: Name of the ISV group
477-
type: string
478-
id:
479-
description: ID of the ISV group
480-
type: string
481-
required:
482-
- id
483-
tenantUrl:
484-
description: URL for the ISV server of the tenant
485-
type: string
486-
required:
487-
- credentialsSecret
488-
- tenantUrl
489-
- groups
490-
type: object
491488
ldap:
492489
description: Ldap represents the LDAP provider
493490
properties:

config/manifests/bases/group-sync-operator.clusterserviceversion.yaml

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,57 @@ spec:
398398
path: providers[0].gitlab.url
399399
x-descriptors:
400400
- urn:alm:descriptor:com.tectonic.ui:text
401+
- description: IbmSecurityVerify represents the IBM Security Verify provider
402+
displayName: IBM Security Verify
403+
path: providers[0].ibmsecurityverify
404+
- description: CredentialsSecret is a reference to a secret containing authentication
405+
details for the IBM Security Verify server
406+
displayName: Secret Containing the Credentials
407+
path: providers[0].ibmsecurityverify.credentialsSecret
408+
x-descriptors:
409+
- urn:alm:descriptor:io.kubernetes:Secret
410+
- description: Key represents the specific key to reference from the resource
411+
displayName: Key
412+
path: providers[0].ibmsecurityverify.credentialsSecret.key
413+
x-descriptors:
414+
- urn:alm:descriptor:com.tectonic.ui:text
415+
- description: Kind is a string value representing the resource type
416+
displayName: Kind
417+
path: providers[0].ibmsecurityverify.credentialsSecret.kind
418+
x-descriptors:
419+
- urn:alm:descriptor:com.tectonic.ui:select:ConfigMap
420+
- urn:alm:descriptor:com.tectonic.ui:select:Secret
421+
- description: Name represents the name of the resource
422+
displayName: Name
423+
path: providers[0].ibmsecurityverify.credentialsSecret.name
424+
x-descriptors:
425+
- urn:alm:descriptor:com.tectonic.ui:text
426+
- description: Namespace represents the namespace containing the resource
427+
displayName: Namespace
428+
path: providers[0].ibmsecurityverify.credentialsSecret.namespace
429+
x-descriptors:
430+
- urn:alm:descriptor:com.tectonic.ui:text
431+
- description: Groups is the list of ISV groups to synchronize
432+
displayName: Groups to Synchronize
433+
path: providers[0].ibmsecurityverify.groups
434+
x-descriptors:
435+
- urn:alm:descriptor:com.tectonic.ui:text
436+
- description: The ID of the group as defined in IBM Security Verify. This value
437+
can be found by using the API.
438+
displayName: Id
439+
path: providers[0].ibmsecurityverify.groups[0].id
440+
x-descriptors:
441+
- urn:alm:descriptor:com.tectonic.ui:text
442+
- description: The display name of the group as defined in IBM Security Verify
443+
displayName: Name
444+
path: providers[0].ibmsecurityverify.groups[0].name
445+
x-descriptors:
446+
- urn:alm:descriptor:com.tectonic.ui:text
447+
- description: TenantURL is the location of the IBM Security Verify tenant
448+
displayName: Tenant URL
449+
path: providers[0].ibmsecurityverify.tenantUrl
450+
x-descriptors:
451+
- urn:alm:descriptor:com.tectonic.ui:text
401452
- description: Keycloak represents the Keycloak provider
402453
displayName: Keycloak Provider
403454
path: providers[0].keycloak
@@ -1163,7 +1214,7 @@ spec:
11631214
```shell
11641215
oc create secret generic okta-api-token --from-literal=okta-api-token=<OKTA_API_TOKEN> -n group-sync-operator
11651216
```
1166-
1217+
11671218
### IBM Security Verify
11681219
11691220
Groups defined in [IBM Security Verify](https://help.okta.com/en/prod/Content/Topics/users-groups-profiles/usgp-main.htm) (ISV) can be synchronized into OpenShift. Currently only the `userName` field from ISV will be synchronized. The developer docs for the ISV API can be found [here](https://docs.verify.ibm.com/verify/page/api-documentation).

0 commit comments

Comments
 (0)