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

Enable configure Connect Injector and Controller Webhooks to be managed by Vault #1191

Merged
merged 80 commits into from
Jun 13, 2022

Commits on Jun 13, 2022

  1. refactored TestVault

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    79d97c8 View commit details
    Browse the repository at this point in the history
  2. Fixing name of CreateConnectCARootAndIntermediatePIKPolicy to CreateC…

    …onnectCARootAndIntermediatePKIPolicy
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    10b507c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a34ebb7 View commit details
    Browse the repository at this point in the history
  4. fixing vault wan fed test

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    460125d View commit details
    Browse the repository at this point in the history
  5. comment formatting

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    cf61317 View commit details
    Browse the repository at this point in the history
  6. PR Feedback. Moving vault helper functions to be on the structs they …

    …were taking as arguments.
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    4ecfd7a View commit details
    Browse the repository at this point in the history
  7. PR Feedback. changing name of Save() onkv2secret to something moredes…

    …criptive. adding comment string.
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    898bf11 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d192a46 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    27ca529 View commit details
    Browse the repository at this point in the history
  10. configuring vault injector

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    14c8b0c View commit details
    Browse the repository at this point in the history
  11. Fixing linting

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    c0166f3 View commit details
    Browse the repository at this point in the history
  12. Pods are all running

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    b37191a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9a2d56a View commit details
    Browse the repository at this point in the history
  14. fixing volume mount

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    318cca4 View commit details
    Browse the repository at this point in the history
  15. fixing volume mount again

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    768190e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e9c885d View commit details
    Browse the repository at this point in the history
  17. fixing cert for tls-cert dir

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    2661943 View commit details
    Browse the repository at this point in the history
  18. Adding logic to tests for controller tls cert. also adding snapshot a…

    …gent and vault namespaces tests
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    a6ea754 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    517f573 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    d867059 View commit details
    Browse the repository at this point in the history
  21. adding missing file

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    cf4bec7 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    bbf9616 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    68a7e1a View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    219366d View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    401ba17 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    8ef4d2b View commit details
    Browse the repository at this point in the history
  27. configure controller to only update mwc with ca bundle when using vau…

    …lt as a secrets backend.
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    6f8deaf View commit details
    Browse the repository at this point in the history
  28. configure connect inject to only update mwc with ca bundle when using…

    … vault as a secrets backend.
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    f2ddbf1 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    b0d6452 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    fb16cf1 View commit details
    Browse the repository at this point in the history
  31. embedding tlsCertDir for controller and connectInject under vault in …

    …values.yaml - fixing tests
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    d9423d6 View commit details
    Browse the repository at this point in the history
  32. change vault role for controller to come from global.secretsBackend.v…

    …ault.consulControllerCARole
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    c22fe6f View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    69688cb View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    4123629 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    369b265 View commit details
    Browse the repository at this point in the history
  36. Working using separate CAs for connect-injector and controller. only …

    …vault test is configured.
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    e7664ec View commit details
    Browse the repository at this point in the history
  37. adding failure if .Values.global.secretsBackend.vault.consulConnectIn…

    …jectCARole, .Values.global.secretsBackend.vault.connectInject.tlsCert, .Values.global.secretsBackend.vault.connectInject.caCert are either all not set or all set.
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    228d2f8 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    1fe928f View commit details
    Browse the repository at this point in the history
  39. enforcing setting both controller and connectInject CA and tls vault …

    …settings all at once.
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    85eb377 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    a982ec9 View commit details
    Browse the repository at this point in the history
  41. Update controller tests

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    a6b52fb View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    328ac87 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    0bd9666 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    359fab6 View commit details
    Browse the repository at this point in the history
  45. making global.secretsBackend.vault.consulCARole the fallback in the c…

    …ontroller and connect-inject deployments if the web cert replacement roles are not defined.
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    84538d9 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    dfe53c4 View commit details
    Browse the repository at this point in the history
  47. correct rebasing issues

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    75e2248 View commit details
    Browse the repository at this point in the history
  48. removing unneccessary format changes. refactoring consul.serverTLSCAT…

    …emplate to use consul.vaultCATemplate
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    2c1a2dd View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    7450ca5 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    d1cdbc7 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    c061aa8 View commit details
    Browse the repository at this point in the history
  52. Adding Changelog

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    c3b4c2f View commit details
    Browse the repository at this point in the history
  53. Update maybeFailValuesIfVaultWebhookCertSettingsAreIncomplete to vali…

    …dateVaultWebhookCertConfiguration
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    1ee0d6c View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    91b432c View commit details
    Browse the repository at this point in the history
  55. Fixing the validation that webhook-cert-manager is not running in the…

    … TestVault_WebhookCerts test
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    23d30b8 View commit details
    Browse the repository at this point in the history
  56. Renamed consulControllerCARole to consulControllerRole and consulCont…

    …ronnectInjectCARole to consulConnectInjectRole
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    914dfa5 View commit details
    Browse the repository at this point in the history
  57. fixing linting

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    b2db4f1 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    130360f View commit details
    Browse the repository at this point in the history
  59. Make ca.crt a constant

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    f7c5023 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    8db287f View commit details
    Browse the repository at this point in the history
  61. updated alt_names for controller and connect inject deployments to be…

    … the same as they are under web-cert-manager. updated path of where webhook certs get saved.
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    ff519a1 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    a97e041 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    31884b0 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    687b99e View commit details
    Browse the repository at this point in the history
  65. moved vault webhook stuff into main vault test and deleted the webhoo…

    …k cert specific test.
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    282057d View commit details
    Browse the repository at this point in the history
  66. getting rid of lint error

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    26e2c34 View commit details
    Browse the repository at this point in the history
  67. refactoring long conditional in webhook-cert-manager files into a var…

    …iable for readability
    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    dffe549 View commit details
    Browse the repository at this point in the history
  68. addressing PR feedback

    jmurret committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    5ea8b94 View commit details
    Browse the repository at this point in the history
  69. Apply suggestions from code review

    Co-authored-by: Iryna Shustava <ishustava@users.noreply.github.com>
    jmurret and ishustava committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    fcf5cac View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    ea52b4e View commit details
    Browse the repository at this point in the history
  71. Update charts/consul/templates/_helpers.tpl

    Co-authored-by: Iryna Shustava <ishustava@users.noreply.github.com>
    jmurret and ishustava committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    43e238a View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    04ead9c View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    afe0288 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    fae8c2f View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    04bd8d9 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    81cde1b View commit details
    Browse the repository at this point in the history
  77. Update the description for enable-webhook-ca-update flag in control-p…

    …lane/subcommand/controller/command.go
    
    Co-authored-by: Iryna Shustava <ishustava@users.noreply.github.com>
    jmurret and ishustava committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    21c2ee7 View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    5cec9a4 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    bf9de95 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    53b740b View commit details
    Browse the repository at this point in the history