Skip to content

Commit

Permalink
Add OIDC Issuer extra field (#87)
Browse files Browse the repository at this point in the history
Co-authored-by: aalexand <[email protected]>
  • Loading branch information
aalexandru and aalexand authored Oct 31, 2023
1 parent a70bbad commit c281b7b
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config/crd/bases/registry.ethos.adobe.com_clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ spec:
type: string
type: object
type: array
oidcIssuer:
description: OIDC Issuer URL
type: string
required:
- domainName
- lbEndpoints
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,38 @@ spec:
status:
description: ServiceMetadataWatcherStatus defines the observed state of
ServiceMetadataWatcher
properties:
watchedServiceObjects:
items:
properties:
errors:
items:
type: string
type: array
lastUpdated:
format: date-time
type: string
objectReference:
properties:
apiVersion:
type: string
kind:
type: string
name:
type: string
required:
- apiVersion
- kind
- name
type: object
required:
- errors
- lastUpdated
- objectReference
type: object
type: array
required:
- watchedServiceObjects
type: object
type: object
served: true
Expand Down
3 changes: 3 additions & 0 deletions pkg/api/registry/v1/cluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ type Extra struct {

// ExtendedRegion information
ExtendedRegion string `json:"extendedRegion,omitempty"`

// OIDC Issuer URL
OidcIssuer string `json:"oidcIssuer,omitempty"`
}

// Tier details
Expand Down
31 changes: 30 additions & 1 deletion pkg/api/registry/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions pkg/apiserver/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,10 @@ const docTemplate = `{
"type": "string"
}
}
},
"oidcIssuer": {
"description": "OIDC Issuer URL",
"type": "string"
}
}
},
Expand Down
4 changes: 4 additions & 0 deletions pkg/apiserver/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,10 @@
"type": "string"
}
}
},
"oidcIssuer": {
"description": "OIDC Issuer URL",
"type": "string"
}
}
},
Expand Down
3 changes: 3 additions & 0 deletions pkg/apiserver/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ definitions:
type: string
type: object
type: array
oidcIssuer:
description: OIDC Issuer URL
type: string
type: object
github_com_adobe_cluster-registry_pkg_api_registry_v1.PeerVirtualNetwork:
properties:
Expand Down

0 comments on commit c281b7b

Please sign in to comment.