Skip to content

Commit

Permalink
Adds documentation for validating webhook changes (#1222)
Browse files Browse the repository at this point in the history
* Adds documentation for val webhook changes

* Address review comments

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
viveksinghggits and mergify[bot] authored Feb 9, 2022
1 parent 09b6ebb commit c17a1c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/tooling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ A new S3Compliant profile can be created using the s3compliant subcommand
secret 's3-secret-chst2' created
profile 's3-profile-5mmkj' created
.. _kanctlvalidate:
kanctl validate
---------------
Expand Down Expand Up @@ -305,6 +307,9 @@ using ``-f`` flag and optionally ``-v`` flag for kanister function version.
Passed the 'validation of phase deleteFromBlobStore in action delete' check.. ✅
Passed the 'validation of phase restoreFromBlobStore in action restore' check.. ✅
``kanctl validate blueprint`` currently verifies the Kanister function names
and presence of the mandatory arguments to those functions.
Kando
=====
Expand Down
5 changes: 5 additions & 0 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ Once we create a Blueprint, we can see its events by using the following command
---- ------ ---- ---- -------
Normal Added 4m Kanister Controller Added blueprint time-log-bp
When a blueprint resource is created, it goes through a
`validating webhook <https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#validatingadmissionwebhook>`_
controller that validates the resource. Refer to :ref:`this<kanctlvalidate>`
documentation for more details.

The next CustomResource we'll deploy is an ActionSet. An ActionSet is created
each time you want to execute any Kanister actions. The ActionSet contains all
the runtime information the controller needs during execution. It may contain
Expand Down

0 comments on commit c17a1c1

Please sign in to comment.