Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OIDC Issuer extra field #87

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading