k8s append_hash (#48830)

* Add append_hash functionality to k8s module

append_hash adds a hash based on the contents of a ConfigMap
or Secret to the name - this enables immutable ConfigMaps and
Secrets.

* Provide k8s_config_resource_name plugin

The k8s_config_resource_name filter plugin provides a means of determining
the name of ConfigMaps and Secrets created with append_hash

* Add changelog fragment

* fix failing tests

* Update openshift version needed for append_hash
This commit is contained in:
Will Thames
2018-11-22 18:14:43 +10:00
committed by John R Barker
parent c3770bf6f2
commit 960ebd981f
11 changed files with 174 additions and 24 deletions

View File

@@ -0,0 +1,2 @@
minor_changes:
- k8s - append_hash parameter adds a hash to the name of ConfigMaps and Secrets for easier immutable resources