forked from openstack-k8s-operators/openstack-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move service templates to be ptr to struct
Moves template parameter in the service sections to be a ptr to be them omitted in case its not provided. Also only triggers the defaulting for the service in the webhook if the service is enabled or a template for the service was provided. If the service was disabled and gets enabled, at least an empty `template: {}` needs to be passed for correct defaulting to happen. Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
- Loading branch information
Showing
28 changed files
with
571 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.