Closed sadovnikov closed 10 months ago
[!IMPORTANT]
Auto Review Skipped
Review was skipped due to path filters
Files ignored due to path filters (5)
* `manifests/charts/aperture-agent/templates/operator-mutatingwebhook.yaml` is excluded by: `!**/*.yaml` * `manifests/charts/aperture-agent/values.yaml` is excluded by: `!**/*.yaml` * `manifests/charts/aperture-controller/templates/operator-mutatingwebhook.yaml` is excluded by: `!**/*.yaml` * `manifests/charts/aperture-controller/templates/post-install-hook.yaml` is excluded by: `!**/*.yaml` * `manifests/charts/aperture-controller/values.yaml` is excluded by: `!**/*.yaml`
@sadovnikov Thanks for your contribution!
Please remember to sign CLA.
@hdkshingala @kklimonda-fn please take a look
@sadovnikov Thanks for your contribution!
The changes look good to me. I'll run the playground once to see if everything is behaving as expected.
Description of change
There are three small fixes in this PR
1) The default value of
MutatingWebhookConfiguration.webhooks.rules.scope
is'*'
. However, it watches the namespaced resources only. Therefore, the result ofkubectl diff
detects a skew with the result ofhelm template
, with the attempt to restore the default value.2) Empty
pullSecrets
lists are ignored bykubectl diff
. On the other hand, Helm does not provide a mechanism to remove default values from a dependency chart - they can only be replaced by other values.3) The
ttlSecondsAfterFinished
deletes the post-install hook Job after 10 seconds. However, the Job is not annotated withhook-delete-policy
. Therefore Argo CD is willing to restore the job.Checklist
The changes were tested by deploying a chart with locally modified dependencies