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

CiProvider as a new OIDCIssuer type #1679

Merged
merged 47 commits into from
Jul 9, 2024

Commits on Jun 26, 2024

  1. drafting generic issuer implementation

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    486397e View commit details
    Browse the repository at this point in the history
  2. adding license o yaml file

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    f74f6a6 View commit details
    Browse the repository at this point in the history
  3. remove yaml2.0

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    cc5a602 View commit details
    Browse the repository at this point in the history
  4. start removing IssuerType usage

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    9c2c0f8 View commit details
    Browse the repository at this point in the history
  5. update license year

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    1261f88 View commit details
    Browse the repository at this point in the history
  6. log

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    73c988c View commit details
    Browse the repository at this point in the history
  7. adding ci provider flag

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    be6acf8 View commit details
    Browse the repository at this point in the history
  8. removing drafting logic for generic principal, to be done in another pr

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    ee93df8 View commit details
    Browse the repository at this point in the history
  9. fixes

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    f7cd58a View commit details
    Browse the repository at this point in the history
  10. generate config

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    ba9e42e View commit details
    Browse the repository at this point in the history
  11. set ci provider as a new type instead of a flag

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    e0e6c53 View commit details
    Browse the repository at this point in the history
  12. rollback isserToChallengeC

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    4930187 View commit details
    Browse the repository at this point in the history
  13. change module name to ci_provider

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    cafe1db View commit details
    Browse the repository at this point in the history
  14. remove IsCiProvider from test

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    c365153 View commit details
    Browse the repository at this point in the history
  15. removing underscore

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    39bdc22 View commit details
    Browse the repository at this point in the history
  16. logging

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    af67958 View commit details
    Browse the repository at this point in the history
  17. implementing ci provider principal logic and test for Name function

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    3c66a3a View commit details
    Browse the repository at this point in the history
  18. moving embed logic to embed function and test

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    2cbe6da View commit details
    Browse the repository at this point in the history
  19. adding test for ci provider WorkflowPrincipalFromIDToken

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    aa257ed View commit details
    Browse the repository at this point in the history
  20. adding test issuer for ci provider

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    4a86f57 View commit details
    Browse the repository at this point in the history
  21. change providers config file name

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    342f8ad View commit details
    Browse the repository at this point in the history
  22. refactoring

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    2b1ea3f View commit details
    Browse the repository at this point in the history
  23. comment applyTemplate

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    c50cd30 View commit details
    Browse the repository at this point in the history
  24. removing github for now, we should add it futher for rollouting

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    cedc9cf View commit details
    Browse the repository at this point in the history
  25. Adding option to check the required claim exist

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    31f8e11 View commit details
    Browse the repository at this point in the history
  26. omit subytype for json

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    8eff532 View commit details
    Browse the repository at this point in the history
  27. rename issuers metadata

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    b480032 View commit details
    Browse the repository at this point in the history
  28. update the templates data order to prioritize default data over claim…

    …ed data
    
    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    6558b31 View commit details
    Browse the repository at this point in the history
  29. adding error handling for applyTemplateOrReplace

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    5c7ee85 View commit details
    Browse the repository at this point in the history
  30. fixes and refactoring

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    54c4e6d View commit details
    Browse the repository at this point in the history
  31. set token.issuer as extension issuer

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    8f54c6a View commit details
    Browse the repository at this point in the history
  32. remove load for providers, merge with fulcio config

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    a35b6cc View commit details
    Browse the repository at this point in the history
  33. remove providers config file

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    66a07a0 View commit details
    Browse the repository at this point in the history
  34. adding check for parsing templates

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    e7cd08f View commit details
    Browse the repository at this point in the history
  35. remove structs usage, using mapstructure instead

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    13e7059 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2024

  1. renamme IssuerMetadata

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    397eee3 View commit details
    Browse the repository at this point in the history
  2. update SubjectAlternativeNameTemplate comment

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    04ef3c7 View commit details
    Browse the repository at this point in the history
  3. several fixes

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    96a6663 View commit details
    Browse the repository at this point in the history
  4. update for using reflect instead of mapstructure

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jun 30, 2024
    Configuration menu
    Copy the full SHA
    611d5c4 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. adding test for ciprovider API

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    1a481eb View commit details
    Browse the repository at this point in the history
  2. adding json tags for Extensions

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    8ab3f2a View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. adding CIIssuerMetadata json and yaml mapping

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    31f0318 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. fixes

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    b9cc94e View commit details
    Browse the repository at this point in the history
  2. adding test for applyTemplateOrReplace

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    42f803c View commit details
    Browse the repository at this point in the history
  3. omit CIIIssuerMetadata

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    478c37a View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2024

  1. adding tests case for ApplyTemplateOrReplace

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    7455b87 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. update code for using Elem() instead of indirect

    Signed-off-by: Javan lacerda <javanlacerda@google.com>
    javanlacerda committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    e248f43 View commit details
    Browse the repository at this point in the history