22 Commits

Author SHA1 Message Date
weiyj
e99c122dfe fix typo errors
Change-Id: I4571bcce48038452d28318cb7344ac9fea778aea
2019-05-20 21:29:11 +00:00
Roman Gorshunov
31e3469d28 Update Helm to version 2.13.0
This updates Helm from version v2.12.3 to v2.13.0.
The `merge` function has changed behavior, and is now called
`mergeOverwrite`.

Change-Id: Ie3364256c8abb714b748b3bf3658bd6cd1e3ce35
2019-03-11 05:53:08 +00:00
chengli3
2df03d3a32 Deep copy daemonset_yaml cross loop
In templates/utils/_daemonset_overrides.tpl,
$context.Values.__daemonset_yaml is used cross the loop. It is not deep
copied in each round of loop. It means that the property set in the
previous round of loop will still exist in current loop. This is not
expected.
This patch is to make a deep copy in each round of loop.

Change-Id: I4e610e4acf67d92257f9d254546ec0b5b31609fe
2019-02-22 19:45:14 +08:00
weiyj
f5d1d6938c spelling error
Change-Id: Idd9e6bc6a1459e74703599b94f0b410fdb9f94ef
2019-01-05 04:39:23 +00:00
Anderson, Craig (ca846m)
48a0c09fea Truncate long host names for overrides
Long hostnames can cause the 63 char name limit to be exceeded.
Truncate the hostname if hostname > 20 char.

Change-Id: Ieb7e4dafb41d1fe3ab3d663d2614f75c814afee6
2018-11-26 17:04:58 -08:00
Ian Howell
9b132225c6 This fixes host-specific overrides
This properly assigns k8s secrets to volumes, rather than using
configMaps

Change-Id: Ifcabd3565fb2abee063f5da117d83ac3a5602536
2018-11-09 16:24:03 -06:00
Jawon Choo
b4dfb27f0c Node-Exporter: allows to set collectors enable/disable
This PS allows to set collectors enable/disable using values.
_node-exporter.sh.tpl makes collectors-list from values.yaml.

Change-Id: Iba2cf4d8304f2405db394fbb6fee58119eab13fc
2018-10-26 01:15:15 +00:00
Pete Birley
b16b2707d8 Helm-Toolkit: Document kubernetes entrypoint macros
This PS adds documentation for the kubernetes entrypoint macros.

Change-Id: I1bec4d7a58878742462de624ebe0b77579759c09
Signed-off-by: Pete Birley <pete@port.direct>
2018-09-21 08:23:22 +00:00
Pete Birley
02fb7e4f59 Helm Toolkit: util to return a list of unique hosts for endpoint
This PS adds a util to return a list of unique hosts for an endpoint,
with the fqdn value returned as the 1st item in the list.

Change-Id: Idaa63fad908f04a2d233e29092f6df30edd55bdb
Signed-off-by: Pete Birley <pete@port.direct>
2018-09-04 18:05:40 +00:00
Jean-Philippe Evrard
bf069b2311 Revert "Update OSH Author copyrights to OSF"
This reverts commit 178aa271a44956e86f4e962bf815fa827d93c9af.

Change-Id: I38a52d866527dfff2689b618e055f439bc248c13
2018-08-28 17:25:54 +00:00
Matt McEuen
178aa271a4 Update OSH Author copyrights to OSF
This PS updates the "Openstack-Helm Authors" copyright attribution
to be the "OpenStack Foundation", as decided in the 2018-03-20
team meeting:
http://eavesdrop.openstack.org/meetings/openstack_helm/2018/openstack_helm.2018-03-20-15.00.log.html

No other copyright attributions were changed.

Change-Id: I1137dee2ae5728771835f4b33fcaff60fcc22ca9
2018-08-26 17:17:06 -05:00
Sean Eagan
5c9bda9d8b htk: merge list items with same "name" key
This patchset changes the "helm-toolkit.utils.merge" function such that
when merging lists it not only removes duplicates, but also optionally
merges any items which have the same value for the "name" key, when
passing a "merge_same_named" parameter as true.

Change-Id: I5105e3649820b41b0dbd6fb36f776bc5ad38c84d
2018-07-19 11:19:47 -05:00
Pete Birley
07d90db1d7 Helm-Toolkit: Move template render to correct location
This PS moves the template renderer function to its correct
location in helm-toolkit.

Thanks to Sai Battina for noticing this.

Change-Id: I614ee33bc8c39007955a0e32cd34e881bd1cb3fe
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-09 17:09:47 -05:00
Pete Birley
6ef940b776 Helm-Toolkit: add doc comments to many util functions
This PS adds documentation comments to may of the utility functions
in helm-toolkit.

Change-Id: Id0481284058678ea2834edf462fa7666e429bd79
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-02 10:44:29 +00:00
Pete Birley
655f171a7a Dependency Mixin: permit null value to be resolved
This PS udpate the dependency mixin function to permit cases where
the mixin is disabled by passing a null value as the key to use
for resolution.

Change-Id: Idcade7eebed317852b70392431ed02a352241c9b
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-16 12:53:34 -05:00
Pete Birley
37de340600 Helm-Toolkit: Reduce delta between OSH and OSH-Infra to image repo
This PS reduces the delta between OSH and OSH-Infra helm toolkits
to simply the image repo management functions.

Change-Id: I3addfbcda6a3c1d34c9f967be07eaceffb468f0e
2018-03-31 08:45:05 -05:00
Sean Eagan
641c79c902 Add deep merge utility to helm-toolkit
Adds "helm-toolkit.utils.merge" which is a replacement for the
upstream sprig "merge" function which didn't quite do what we
wanted, specifically it didn't merge slices, it just overrode
one with the other.  This PS also updates existing callsites
of the sprig merge with "helm-toolkit.utils.merge".

Change-Id: I456349558d4cf941d1bcb07fc76d0688b0a10782
2018-02-13 10:08:50 -06:00
portdirect
2e0b57ad93 KubeADM-AIO: Drive basic CNI configuration via values
This PS drives basic CNI options via ansible playbook in the
KubeADM-AIO container and modifies the calico chart to support
configuration via values.

Change-Id: Iaf2f9807438c3a34e797c62c2c6913edb677997c
2018-01-07 12:32:40 -05:00
intlabs
436845541b Image local repo jobs and multiple namespace support
This PS introduces support for using a local docker repo to
store images if desired, and adds multiple namespace support
to the entrypoint lookup functions.

Change-Id: Ib51aa30d3cc033795fe13f6c40a57d46171ad586
2017-11-02 16:23:32 -05:00
intlabs
8c9f70401a Helm-Toolkit: Import into infra repo from primary
This PS imports helm-toolkit into the Helm Infra repo

Change-Id: Ife3451f9af5a40dbd5aa2414fc6226b26f81ede1
2017-10-26 19:33:36 -05:00
intlabs
366a175447 Remove old helm-toolkit
This PS removes the old helm toolkit in preperation for the repo to
be initialised with openstack-helm-infra and the zuul v3 gate.

Change-Id: I4fa3be6bc240c061620dc3b5533136107a99065c
2017-10-24 17:42:50 -05:00
Steve Wilkerson
34a29bfac1 Add helm-toolkit to OSH-infra
Add helm-toolkit to OSH-infra to support using zuul-cloner in
the gates for openstack-helm. As infra is appropriate for charts
required to run openstack-helm, helm-toolkit should be centralized
here

Change-Id: I9d7f80a405f9fb2dec7e5fcdc8294a8c35154272
2017-07-05 09:13:29 -05:00