Joshua Casey
|
afa3aa2232
|
LDAP and AD IDPs now always report condition with type LDAPConnectionValid, even if the status is unknown
Co-authored-by: Ryan Richard <richardry@vmware.com>
|
2024-08-06 16:08:25 -07:00 |
|
Ryan Richard
|
229b6a262e
|
when dialing github to test connection, dial api.github.com
Co-authored-by: Joshua Casey <joshuatcasey@gmail.com>
|
2024-08-06 08:58:30 -07:00 |
|
Ryan Richard
|
e0235ed190
|
update docs and change struct name in types_tls.go.tmpl files
Co-authored-by: Ashish Amarnath <ashish.amarnath@broadcom.com>
|
2024-08-05 11:32:21 -07:00 |
|
Ryan Richard
|
9f17ba5ae4
|
change wording of TLS config loaded success messages
|
2024-08-05 11:32:20 -07:00 |
|
Joshua Casey
|
a888083c50
|
Introduce type alias CABundleHash for the hash of a CA bundle ([32]byte)
Co-authored-by: Ryan Richard <richardry@vmware.com>
Co-authored-by: Ashish Amarnath <ashish.amarnath@broadcom.com>
|
2024-08-05 11:32:20 -07:00 |
|
Joshua Casey
|
fcceeed9fa
|
Refactor tlsconfigutil.CABundle 'getters' to not have 'get' in the name
Co-authored-by: Ryan Richard <richardry@vmware.com>
|
2024-08-05 11:32:20 -07:00 |
|
Joshua Casey
|
15d0006841
|
Pull tlsconfigutil.CABundle into a separate file
|
2024-08-05 11:32:20 -07:00 |
|
Ashish Amarnath
|
005dbf3aa8
|
refactor tlsconfigutil to return a caBundle type
Signed-off-by: Ashish Amarnath <ashish.amarnath@broadcom.com>
|
2024-08-05 11:32:20 -07:00 |
|
Joshua Casey
|
242fa8afb2
|
When reading CA bundle from a secret/configmap, return more specific err
When the bundle does not contain any certs, make the error more
specific.
Co-authored-by: Ryan Richard <richardry@vmware.com>
|
2024-08-05 11:32:20 -07:00 |
|
Ryan Richard
|
414ff503ef
|
extract some common condition reason string constants
|
2024-08-05 11:32:20 -07:00 |
|
Joshua Casey
|
d62d6a1f27
|
Refactor github_controller_watcher to simplify the tls Dial
|
2024-08-05 11:32:19 -07:00 |
|
Joshua Casey
|
288e092d2e
|
GitHub IDP watcher should not dial an address that has already been validated
|
2024-08-05 11:32:19 -07:00 |
|
Joshua Casey
|
66401b42d8
|
Add GitHubIDP tests for a CA bundle in a Secret or a ConfigMap
|
2024-08-05 11:32:19 -07:00 |
|
Joshua Casey
|
6e9023e090
|
add code review todos and light refactoring
Co-authored-by: Ryan Richard <richardry@vmware.com>
|
2024-08-05 11:32:19 -07:00 |
|
Ashish Amarnath
|
1b7a26d932
|
test secret and configmap filtering in concierge authenticator controllers
Signed-off-by: Ashish Amarnath <ashish.amarnath@broadcom.com>
|
2024-08-05 11:32:19 -07:00 |
|
Ashish Amarnath
|
199562fd05
|
get all supervisor unit tests to pass
Signed-off-by: Ashish Amarnath <ashish.amarnath@broadcom.com>
|
2024-08-05 11:32:19 -07:00 |
|
Ashish Amarnath
|
3a969a83b7
|
update supervisor controllers
Signed-off-by: Ashish Amarnath <ashish.amarnath@broadcom.com>
|
2024-08-05 11:32:19 -07:00 |
|
Joshua Casey
|
678be9902a
|
Lint new files from the GitHub branch
|
2024-06-11 10:16:18 -05:00 |
|
Joshua Casey
|
58b4ecc0aa
|
user sees error msg when GitHub login is denied due to allowed orgs
Also renamed an interface function from GetName to GetResourceName.
Co-authored-by: Ryan Richard <richardry@vmware.com>
|
2024-06-03 10:56:28 -07:00 |
|
Ryan Richard
|
6364ac9ac7
|
change status condition type name to be "ClientCredentialsSecretValid"
For both GitHubIdentityProvider and OIDCIdentityProvider to make them
consistent with each other.
|
2024-05-31 09:59:30 -07:00 |
|
Joshua Casey
|
eee737186f
|
Clean up how lastTransitionTime and observedGeneration are checked in github_upstream_watcher_test
|
2024-05-30 21:34:29 -05:00 |
|
Ryan Richard
|
8f8db3f542
|
Make github org comparison case-insensitive, but return original case
Co-authored-by: Joshua Casey <joshuatcasey@gmail.com>
|
2024-05-22 21:21:45 -05:00 |
|
Joshua Casey
|
f43b6f04dc
|
Fix lint issues from golangci-lint 1.58.1
|
2024-05-10 15:15:59 -05:00 |
|
Ryan Richard
|
7277d00e1a
|
refactor upstreamgithub.ProviderConfig to hold more config
|
2024-05-09 15:35:37 -07:00 |
|
Benjamin A. Petersen
|
6424f45c19
|
Add IDP Discovery integration test for GitHub
|
2024-04-29 14:57:14 -04:00 |
|
Benjamin A. Petersen
|
cd86d57763
|
review cleanup, remove TODOs
|
2024-04-25 17:02:07 -04:00 |
|
Benjamin A. Petersen
|
44edba6f75
|
Add tests for Github in FederationDomain ListerFinder
|
2024-04-25 17:01:57 -04:00 |
|
Joshua Casey
|
14b1b7c862
|
Polish up the github_upstream_watcher: default and verify spec.claims correctly
|
2024-04-24 13:37:40 -05:00 |
|
Joshua Casey
|
c8b90df6f1
|
Inline using phttp.Default
|
2024-04-23 18:06:26 -05:00 |
|
Joshua Casey
|
fe5d037600
|
Merge branch 'main' into jtc/merge-main-5fe94c4e-into-github
|
2024-04-23 12:42:07 -05:00 |
|
Joshua Casey
|
c9b61ef010
|
Populate internal GitHub IDP Config from CRD
|
2024-04-16 14:33:01 -05:00 |
|
Benjamin A. Petersen
|
e2db152c6c
|
Stub in TestUpstreamGithubIdentityProvider for unit tests
|
2024-04-02 13:59:11 -04:00 |
|
Benjamin A. Petersen
|
5c490e999d
|
Stub in unit tests for github_upstream_watcher
|
2024-04-02 12:38:06 -04:00 |
|
Benjamin A. Petersen
|
a11e1527f0
|
Add github-upstream-observer Controller
|
2024-04-02 10:53:26 -04:00 |
|