Skip to content

[feature] Support webhook. #486

@runkecheng

Description

@runkecheng

Is your feature request related to a problem? Please describe.

Used for parameter validating.

Describe the solution you'd like

Provide configurable items on values.go.

...
manager:
  ...
    enabledWebhooks: true
  ...
webhook:
  certManager:
    # If true, make sure that cert-manager has been installed.
    enabled: false
  # If empty and disable certManager, Helm will auto-generate these fields.
  caBundlePEM: |

  crtPEM: |

  keyPEM: |

Describe alternatives you've considered

Additional context

K8s Dynamic Admission Control, see doc

Uses:

  • Use helm generated cert. (Default)
  • Use cert-manager (Set certManager.enabled to true and make sure that cert-manager has been installed.)
  • Use Specified cert. (Fill in caBundlePEM, crtPEM, keyPEM.)

Use helm template functions to generate ca and cert, see doc

  • genCA
  • genSignedCert

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions