Cédric Ollivier [Fri, 3 Jun 2022 07:32:09 +0000 (09:32 +0200)]
[DOC] Leverage the right upper-constraints
Issue-ID: DOC-782
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I27c26529736a687def368fe205bd571513c0eaf8
Bartek Grzybowski [Fri, 22 Apr 2022 10:38:18 +0000 (12:38 +0200)]
[ANSIBLE] Do not add kubernetes nodes host keys to known_hosts file
This operation is redundant and causes a warning on each ssh connection
from infra host to any node. As per documentation keys should be set up
prior to running installer with setup.yml playbook. If using cicdansible
those are also set up automatically there.
Change-Id: I4fae07f632b425321e95cff02370e6e7f2b5e66f
Issue-ID: OOM-2964
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 19 Apr 2022 10:33:12 +0000 (12:33 +0200)]
[DOC] Update changelog
Change-Id: Idb89b78cd2d9419f8e5a74ad8372ec4ef5ca0018
Issue-ID: OOM-2948
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Mon, 11 Apr 2022 09:44:32 +0000 (11:44 +0200)]
[MOLECULE] Setup Molecule for strimzi-kafka-operator role
Change-Id: I71161ec250190babecd092241e586f97fd7bcbca
Issue-ID: OOM-2948
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 8 Apr 2022 12:09:36 +0000 (14:09 +0200)]
[ANSIBLE][BUILD] Provision strimzi-kafka-operator
Jakarta requires Strimzi Kafka Operator to be installed in the k8s cluster
Change-Id: Id648c7f1e060923df5a5761daf3f2d20f4a49e39
Issue-ID: OOM-2948
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 7 Apr 2022 11:45:32 +0000 (13:45 +0200)]
[ANSIBLE][BUILD] Switch to default authorization scheme for Kubernetes API
In RKE 1.3.8 nginx ingress controller pods failed to run with authorization turned off.
Change-Id: I92f5cdee661a91c05ea8ae1fa2ac6183705a3d1f
Issue-ID: OOM-2948
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 6 Apr 2022 10:04:54 +0000 (12:04 +0200)]
[BUILD] Improve helm template output
In Jakarta a ConfigMap object has been added in dcaemod chart that
contains a raw helm chart definition with templated "image" value
that should not be parsed by the script to avoid vague output.
Change-Id: I6ea7e1e163a704f66aea59d44a09ff330fdc86bc
Issue-ID: OOM-2948
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 5 Apr 2022 10:29:20 +0000 (12:29 +0200)]
[BUILD] Update image data list for RKE 1.3.8
Change-Id: Ie87f33948f3dd894093ea6e879b597b7f7d8b3b9
Issue-ID: OOM-2948
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 1 Apr 2022 10:24:16 +0000 (12:24 +0200)]
[ANSIBLE] Enable DynamicKubeletConfig feature gate for Kubelet
Since Kubernetes 1.22.0, it's required to enable the DynamicKubeletConfig
feature gate on Kubelet to use the --dynamic-config-dir flag
Change-Id: I64823906bd1de1419502c055218ecfcd30a61009
Issue-ID: OOM-2948
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 31 Mar 2022 10:47:50 +0000 (12:47 +0200)]
[ANSIBLE][BUILD] Update RKE to 1.3.8
RKE upgrades to 1.3.8
Kubernetes upgrades to v1.22.7-rancher1-1
Kubectl upgrades to 1.22.7
Change-Id: Id17ffa1ce9aef08a6b0a8aa771e7f763d5cb9f02
Issue-ID: OOM-2948
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 17 Mar 2022 11:17:58 +0000 (12:17 +0100)]
[ANSIBLE] Do not run "onap" make target while building the helm charts
Change-Id: I057ae770366e92bebeb97310bab773cdf6b45429
Issue-ID: OOM-2946
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 17 Mar 2022 10:04:18 +0000 (11:04 +0100)]
[BUILD] Drop make's "onap" target while building the charts
Change-Id: I57d73afd7f5690f0c379b4f60e74f271bf3bd7cb
Issue-ID: OOM-2946
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 17 Mar 2022 08:34:52 +0000 (08:34 +0000)]
Merge "[CICDANSIBLE] Add availability_zone Heat stack parameter"
Ostap Batih [Wed, 23 Feb 2022 11:16:06 +0000 (11:16 +0000)]
[MOLECULE] Configure and write tests for application-overrides role
* configured molecule for application-override role for centos and ubuntu
* wrote testinfra test for role
Issue-ID: OOM-2889
Signed-off-by: Ostap Batih <o.batih@samsung.com>
Change-Id: Iff17b0b9439f3fcb52eb6c4f3829f0c65b55c1a3
Bartek Grzybowski [Wed, 16 Mar 2022 10:08:09 +0000 (11:08 +0100)]
[MOLECULE] Pin the ansible-lint pip package
Pinned to 5.4.0 due to an issue when version is resolved automatically
Change-Id: Idbeb12b472c4e4122da980d762b3703abd8084cc
Issue-ID: OOM-2927
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 10 Mar 2022 13:09:49 +0000 (14:09 +0100)]
[CICDANSIBLE] Add availability_zone Heat stack parameter
This will allow parametrizing the availability zone in cicdansible
Change-Id: Ia825b01e246acf7877b66665d436f0c4a1991b60
Issue-ID: OOM-2935
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 4 Mar 2022 15:35:02 +0000 (16:35 +0100)]
[BUILD] Add tests for docker downloader script
This adds test routines for downloader script leveraging tox and pytest
Change-Id: I0c603434fd323741ad5230679c78c2c7e688edf3
Issue-ID: INT-1429
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 4 Mar 2022 15:29:38 +0000 (16:29 +0100)]
[BUILD] Improve docker images download script testability
Command line argument parsing routine now returns raw ArgumentParser
object for easier instantiation in test routines.
Change-Id: Icac599a6e72b0a7514a1a33d23624c44dc819b9b
Issue-ID: INT-1429
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 1 Mar 2022 11:34:28 +0000 (12:34 +0100)]
[BUILD] Fix docker mirror handling
In case image originates from same repository that is used as a docker
mirror do not try to retag the image (to the same name which would
end with error)
Change-Id: I4c43315d5633e39a347492d2b2065bdddfead6fb
Issue-ID: INT-1429
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Mon, 28 Feb 2022 15:55:07 +0000 (15:55 +0000)]
Merge changes from topic "OOM-2927"
* changes:
[ANSIBLE] Override sha tag for kube-webhook-certgen image
[BUILD] Update image list for kube-prometheus-stack
Revert "[PATCH] Add OOM patch for fixing mariadb metrics ServiceMonitor label selector"
[ANSIBLE] [BUILD] Upgrade Kube Prometheus Stack to 32.2.1
[MOLECULE] Pin the markupsafe pip package in virtualenv
Bartek Grzybowski [Mon, 28 Feb 2022 11:36:50 +0000 (12:36 +0100)]
[BUILD] Fix a buggy condition in _pull_image routine
Change-Id: Id9480ca97790e9732a3ab7ea53bfe3f14928c2d8
Issue-ID: OOM-2915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 22 Feb 2022 11:35:25 +0000 (12:35 +0100)]
[ANSIBLE] Override sha tag for kube-webhook-certgen image
It's default value breaks offline simulations.
Change-Id: I849cda0bc1818551b21ad39bcbc7dbf6325d4c62
Issue-ID: OOM-2927
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 22 Feb 2022 11:14:22 +0000 (12:14 +0100)]
[BUILD] Update image list for kube-prometheus-stack
Change-Id: I484914d0d9fae371cede9293a104e6ed8e957cf6
Issue-ID: OOM-2927
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 22 Feb 2022 08:29:39 +0000 (08:29 +0000)]
Revert "[PATCH] Add OOM patch for fixing mariadb metrics ServiceMonitor label selector"
This reverts commit
ed78f34068ddfb3467155d994cb8cb5a37fe2f2d.
Reason for revert: Fixed upstream in OOM
Issue-ID: OOM-2927
Change-Id: I6c8dc89c7f179ec08b604032383f9ce6d57a976d
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 18 Feb 2022 12:28:54 +0000 (13:28 +0100)]
[ANSIBLE] [BUILD] Upgrade Kube Prometheus Stack to 32.2.1
Change-Id: I1f86b7d44716ed45abb2fdc63416d1d49004dffe
Issue-ID: OOM-2927
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 23 Feb 2022 13:30:45 +0000 (14:30 +0100)]
[MOLECULE] Pin the markupsafe pip package in virtualenv
Pinning to an older version is required by a backward incompatible
change introduced in the library, details in the bug report at
https://github.com/pallets/markupsafe/issues/284
Change-Id: Ia291d70e0ca734a2149ee81c6168d82e1d7d7ebe
Issue-ID: OOM-2927
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 18 Feb 2022 11:01:07 +0000 (12:01 +0100)]
[DOC] Update documentation in regard of ONAP services monitoring
Change-Id: Ib121b469822c024f63e230139f4f13ec46ef49ab
Issue-ID: OOM-2924
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 17 Feb 2022 10:02:26 +0000 (11:02 +0100)]
[ANSIBLE] Update ONAP MariaDB dashboard
This change adds a curated set of panels for ONAP's MariaDB Galera chart
monitoring.
Change-Id: Ief0f46966af59021cca3c1529d7ce10fd0a99b8f
Issue-ID: OOM-2924
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 10 Feb 2022 13:39:40 +0000 (14:39 +0100)]
[ANSIBLE] Add new dashboard for ONAP services monitoring in Grafana
Change-Id: Ibeb18c82b945a2adbde044f3db40d77076aa3d01
Issue-ID: OOM-2924
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 8 Feb 2022 11:03:54 +0000 (12:03 +0100)]
[PATCH] Add OOM patch for fixing mariadb metrics ServiceMonitor label selector
Change-Id: I96bee37a8852e3868adbc5cdcdab6c844654e21d
Issue-ID: OOM-2924
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 4 Feb 2022 12:00:01 +0000 (13:00 +0100)]
[ANSIBLE] Setup Prometheus to select all ServiceMonitors
By default Prometheus selects only ServiceMonitors with a "release" label
set to "kube-prometheus-stack" which prevents correct discovery of Onap
monitoring targets. With these settings any ServiceMonitor with any
arbitrary label will be selected.
Change-Id: Icbb099a86779bc4df6333e71258504e18f3d1d09
Issue-ID: OOM-2924
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 9 Feb 2022 10:47:31 +0000 (11:47 +0100)]
[MOLECULE] Unpin the ansible-lint pip package
Unpinned due to molecule failing on 'lint' command
Change-Id: Ib8fddf2edd0c8b81176f6ebfd5346478d6b53e52
Issue-ID: OOM-2924
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 26 Jan 2022 09:35:30 +0000 (10:35 +0100)]
[BUILD] Enable importCustomCertsEnabled in docker images collector script
Enabling it implies enumerating additional image for certInitializer which
might be needed for some usecases.
Change-Id: I3ed35d1be7f8542b57b5e142d2cc6eb679077ffd
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 21 Jan 2022 15:53:37 +0000 (16:53 +0100)]
[DOC] Update changelog
Change-Id: I58e680c78e077e95e1b0d29208272a60c7d6e01d
Issue-ID: OOM-2915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 21 Jan 2022 12:14:24 +0000 (13:14 +0100)]
[BUILD] Add option to define excluded private registries
This option allows to exclude pulling some images that originate
from private registries from mirror defined in '--private-registry-mirror'.
Change-Id: I49e73eb8a1e253667bde4a387cd809c278ba77d2
Issue-ID: OOM-2915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 21 Jan 2022 10:20:49 +0000 (11:20 +0100)]
[BUILD] Support docker mirror in download script
A new option '--docker-private-registry-mirror' is added that allows
pulling images which originate from private registries from custom
docker mirroring repository (pull through cache)
Change-Id: I28ee693438d3684d3d0000a7dd94a265c0a617c1
Issue-ID: OOM-2915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 20 Jan 2022 14:19:32 +0000 (15:19 +0100)]
[BUILD] Fix argument name for DockerDownloader class instantiation
Change-Id: Ie21ad508da894992a8202d71f8ac62374c609733
Issue-ID: OOM-2915
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 5 Jan 2022 12:14:31 +0000 (13:14 +0100)]
[MOLECULE] Add 'ubuntu' scenario for kube_prometheus.yml playbook tests
Change-Id: Id423da14169e109c72f7441a1b944abef1e8a305
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 5 Jan 2022 12:05:52 +0000 (13:05 +0100)]
[MOLECULE] Add 'ubuntu' scenario for cert_manager.yml playbook tests
Change-Id: Ibfd91503b9eb92126c90f4e9c1b0e418c0e63641
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 5 Jan 2022 11:50:04 +0000 (12:50 +0100)]
[MOLECULE] Add 'ubuntu' scenario for 'kube-prometheus-stack' role
Change-Id: I40ba8c39ad8530168672fad1134e26226d18b735
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 5 Jan 2022 11:32:31 +0000 (12:32 +0100)]
[MOLECULE] Add 'ubuntu' scenario for 'k8s-persistent-volume' role
Change-Id: I79b1cc4757ce5b45afae3f13b05f2739a3593d4f
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 5 Jan 2022 10:47:18 +0000 (11:47 +0100)]
[MOLECULE] Add 'ubuntu' scenario for 'bash-completion' role
Change-Id: Idf2c22383649beb3c7c76ff6fa991aa88e6cc205
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 5 Jan 2022 10:22:01 +0000 (11:22 +0100)]
[MOLECULE] Fix typo in 'ubuntu' scenario setup for 'package-repository' role
Change-Id: I03fc928975122400d64bd39c341e07a7a604be90
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 5 Jan 2022 10:08:16 +0000 (11:08 +0100)]
[MOLECULE] Add 'ubuntu' scenario for 'cert-manager' role
Change-Id: I33db6f8837a14959d35318db08acfb2002911a38
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 4 Jan 2022 12:51:54 +0000 (13:51 +0100)]
[MOLECULE] Add molecule setup for kube_prometheus.yml playbook
nfs_mount_path in kube-prometheus-stack role is coerced to global
value from group_vars to allow direct verifier test reuse in
playbook run.
Change-Id: I125355f2b65b57ae6782b9eafcb6d6b58a7444e0
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 4 Jan 2022 11:15:54 +0000 (12:15 +0100)]
[MOLECULE] Add molecule setup for cert_manager.yml playbook
Change-Id: I8d6847ac2f201ff3218c02f4ee0406042cea9ee2
Issue-ID: OOM-2908
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 22 Dec 2021 17:43:33 +0000 (18:43 +0100)]
[ANSIBLE] Drop pndareg.ctao6.net repository simulation
Pnda charts were already removed from OOM
Change-Id: I0c319b61271b45c642a77b1ea45e32a362cb262a
Issue-ID: DCAEGEN2-2503
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Ostap Batih [Thu, 30 Dec 2021 14:54:31 +0000 (14:54 +0000)]
[MOLECULE] Add testinfra tests for kube-prometheus-stack role
Issue-ID: OOM-2889
Signed-off-by: Ostap Batih <o.batih@samsung.com>
Change-Id: I64af5aadcc14c864a27806f20d56e0d7007ff33d
Ostap Batih [Wed, 29 Dec 2021 14:44:59 +0000 (14:44 +0000)]
[MOLECULE] Add testinfra test to nexus role
Issue-ID: OOM-2889
Signed-off-by: Ostap Batih <o.batih@samsung.com>
Change-Id: Ie1685398a663badcaf16a44b1bf99ec0e5c29d60
Ostap Batih [Tue, 28 Dec 2021 09:35:22 +0000 (09:35 +0000)]
[MOLECULE] Add testinfra tests for nginx role
Issue-ID: OOM-2889
Signed-off-by: Ostap Batih <o.batih@samsung.com>
Change-Id: I32960fbb425d65f934c9c91ffbc764fceafa90f5
Ostap Batih [Wed, 22 Dec 2021 09:13:33 +0000 (09:13 +0000)]
[MOLECULE] Add testinfra tests for dns role
Issue-ID: OOM-2889
Signed-off-by: Ostap Batih <o.batih@samsung.com>
Change-Id: I9c653bdaa8cfcd1a8e187cbf899c060a6299457c
Bartek Grzybowski [Fri, 17 Dec 2021 10:58:13 +0000 (11:58 +0100)]
[ANSIBLE] Generate shell completion code for kubectl and helm
Rke.yml playbook leverages 'bash-completion' role
Change-Id: I1d09a3118f0b52ef274e4159666d9f1b0353783d
Issue-ID: OOM-2902
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 17 Dec 2021 10:38:18 +0000 (11:38 +0100)]
[ANSIBLE] Generate shell completion code for cmctl in 'cert_manager' playbook
Leverages 'bash-completion' role
Change-Id: Ia404ee05e7268f713ae4a0f613db01e873259ee9
Issue-ID: OOM-2902
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 17 Dec 2021 10:35:58 +0000 (11:35 +0100)]
[ANSIBLE] Drop shell completion code generation in 'kubectl' role
Moved to a dedicated role
Change-Id: I9000403ff619a784c9a480d5de2eafe857c80d8f
Issue-ID: OOM-2902
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 17 Dec 2021 10:29:42 +0000 (11:29 +0100)]
[ANSIBLE] Drop shell completion code generation in 'cert-manager' role
Moved to a dedicated role
Change-Id: Ibfaf132d4d81edaee8332b809c3452d530ab1c4c
Issue-ID: OOM-2902
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 17 Dec 2021 10:17:55 +0000 (11:17 +0100)]
[ANSIBLE] Add 'bash-completion' role
Role installs bash-completion package and generates the
shell completion code for binary given as a role parameter
Change-Id: I95af7b7a16b0dec1dd7841f1db7afdb3738fe6bc
Issue-ID: OOM-2902
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 16 Dec 2021 10:23:59 +0000 (11:23 +0100)]
[MOLECULE] Drop 'include_role' in favor of playing the role directly
'include_role' statement does not play role dependencies
Change-Id: I6518f32f4ac1b1f9742d96aeb10d0868c4394c5d
Issue-ID: OOM-2902
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 15 Dec 2021 14:40:56 +0000 (14:40 +0000)]
Merge "[ANSIBLE] Fix idempotence deficiencies in 'firewall' and 'nexus' role"
Bartek Grzybowski [Wed, 15 Dec 2021 11:03:05 +0000 (12:03 +0100)]
[ANSIBLE] Fix idempotence deficiencies in 'firewall' and 'nexus' role
Change-Id: Id154423650483512aa04607f60b4001807be6721
Issue-ID: OOM-2237
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 14 Dec 2021 13:54:26 +0000 (14:54 +0100)]
[MOLECULE] Define verifier tests directory directly in molecule.yml
Change-Id: Ic04764848c40a205d60abb01fdffa7e76065c237
Issue-ID: OOM-2238
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 14 Dec 2021 13:24:30 +0000 (14:24 +0100)]
[ANSIBLE] Fix 'application' role idempotency checks
Change-Id: I9ae95664d30afabc7fd3ba1ea11e466c004f5089
Issue-ID: OOM-2238
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 14 Dec 2021 11:22:46 +0000 (12:22 +0100)]
[MOLECULE] Drop .gitignore in 'certificates' role
Workdir gets cleaned automatically
Change-Id: I2e10dcb004946d38e59849565040356a9b8ac474
Issue-ID: OOM-1814
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Mon, 13 Dec 2021 15:22:01 +0000 (15:22 +0000)]
Merge "[BUILD] Drop Helm v2 codebase in docker-images-collector.sh"
Bartek Grzybowski [Mon, 13 Dec 2021 08:28:32 +0000 (08:28 +0000)]
Merge "[MOLECULE] Add testinfra tests for cert-manager role"
Bartek Grzybowski [Fri, 10 Dec 2021 14:06:52 +0000 (15:06 +0100)]
[BUILD] Drop Helm v2 codebase in docker-images-collector.sh
Change-Id: Id91028d9d29424dce040bb676c8b7694d9b6ca35
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 10 Dec 2021 09:45:19 +0000 (09:45 +0000)]
Merge "[DOC] Update build and install guide" into istanbul
Bartek Grzybowski [Fri, 10 Dec 2021 09:45:10 +0000 (09:45 +0000)]
Merge "[DOC] Update build and install guide"
Ostap Batih [Wed, 8 Dec 2021 09:50:52 +0000 (09:50 +0000)]
[MOLECULE] Add testinfra tests for cert-manager role
Issue-ID: OOM-2889
Change-Id: Ida4349ea463b3da182502ccc10927c2f22d684b9
Signed-off-by: Ostap Batih <o.batih@samsung.com>
Bartek Grzybowski [Thu, 9 Dec 2021 12:29:37 +0000 (13:29 +0100)]
[DOC] Update build and install guide
Change-Id: I068fcc88b324f86504e84026561f3f72efdac79c
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 9 Dec 2021 12:29:37 +0000 (13:29 +0100)]
[DOC] Update build and install guide
Change-Id: I068fcc88b324f86504e84026561f3f72efdac79c
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 3 Dec 2021 12:18:54 +0000 (13:18 +0100)]
[DOC] Update changelog
Change-Id: Ifbf20083840b2514e2c837b2ec321e5ca1fc99c8
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Fri, 3 Dec 2021 12:18:54 +0000 (13:18 +0100)]
[DOC] Update changelog
Change-Id: Ifbf20083840b2514e2c837b2ec321e5ca1fc99c8
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 25 Nov 2021 11:40:10 +0000 (12:40 +0100)]
[MOLECULE] Remove separate helm cases from 'application' role verifier
Change-Id: I0a9fc3bad5ec639deabdf50f42f7798974e830bc
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 25 Nov 2021 11:14:35 +0000 (12:14 +0100)]
[MOLECULE] Drop 'helm3' test scenario for play-rke role
Change-Id: I7e8e351cb72964dba35a69c020a6d0016e0f383a
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 25 Nov 2021 11:03:25 +0000 (12:03 +0100)]
[MOLECULE] Download helm-push unconditionally in 'prepare-helm' role
Change-Id: I12035d5f22d947a54ce56404924ad74561c29546
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 25 Nov 2021 11:00:16 +0000 (12:00 +0100)]
[ANSIBLE] Play Helm v3 tasks unconditionally
Helm v3 is the default hence no need for conditionals.
Change-Id: I2c9924a0925a8fce0ccac23430b629e3e567f654
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 25 Nov 2021 10:51:26 +0000 (11:51 +0100)]
[ANSIBLE] Drop Helm v2 specific code from application role
Change-Id: I270594786b2ec3b63b5c6cd313278bb271db44b1
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 24 Nov 2021 14:05:40 +0000 (15:05 +0100)]
[MOLECULE] Drop custom helm3 scenario for application role
Helm v3 is the default now so removing its custom scenario
Change-Id: I8814d2a61e47d43e56df43889e730fada7ba99a6
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 24 Nov 2021 12:28:29 +0000 (13:28 +0100)]
[MOLECULE] Drop custom test scenario for helm v3
Helm v3 is now the default so removing its custom test
scenario.
Change-Id: I2c2fa2594a743a1502fe0b414aa75c145cbaa5d9
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 24 Nov 2021 11:13:07 +0000 (12:13 +0100)]
[ANSIBLE] Include chartmuseum role unconditionally
Helm v3 is now the default so dropping the conditional inclusion of
chartmuseum role
Change-Id: I78fa4a1438b49de40e16ebeb79276d74b9ecc5a6
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 24 Nov 2021 11:10:08 +0000 (12:10 +0100)]
[ANSIBLE] Switch default helm version to 3.6.3
Change-Id: Id7b9a183f97fe3002784f9a9482af9ff98c88bf2
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 23 Nov 2021 11:13:53 +0000 (12:13 +0100)]
[BUILD] Remove Helm v2 related artifacts
Change-Id: I59ab1615669949d04145ab5e2600b683ecd98826
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 25 Nov 2021 11:40:10 +0000 (12:40 +0100)]
[MOLECULE] Remove separate helm cases from 'application' role verifier
Change-Id: I0a9fc3bad5ec639deabdf50f42f7798974e830bc
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 25 Nov 2021 11:14:35 +0000 (12:14 +0100)]
[MOLECULE] Drop 'helm3' test scenario for play-rke role
Change-Id: I7e8e351cb72964dba35a69c020a6d0016e0f383a
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 25 Nov 2021 11:03:25 +0000 (12:03 +0100)]
[MOLECULE] Download helm-push unconditionally in 'prepare-helm' role
Change-Id: I12035d5f22d947a54ce56404924ad74561c29546
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 25 Nov 2021 11:00:16 +0000 (12:00 +0100)]
[ANSIBLE] Play Helm v3 tasks unconditionally
Helm v3 is the default hence no need for conditionals.
Change-Id: I2c9924a0925a8fce0ccac23430b629e3e567f654
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Thu, 25 Nov 2021 10:51:26 +0000 (11:51 +0100)]
[ANSIBLE] Drop Helm v2 specific code from application role
Change-Id: I270594786b2ec3b63b5c6cd313278bb271db44b1
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 24 Nov 2021 14:05:40 +0000 (15:05 +0100)]
[MOLECULE] Drop custom helm3 scenario for application role
Helm v3 is the default now so removing its custom scenario
Change-Id: I8814d2a61e47d43e56df43889e730fada7ba99a6
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 24 Nov 2021 12:28:29 +0000 (13:28 +0100)]
[MOLECULE] Drop custom test scenario for helm v3
Helm v3 is now the default so removing its custom test
scenario.
Change-Id: I2c2fa2594a743a1502fe0b414aa75c145cbaa5d9
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 24 Nov 2021 11:13:07 +0000 (12:13 +0100)]
[ANSIBLE] Include chartmuseum role unconditionally
Helm v3 is now the default so dropping the conditional inclusion of
chartmuseum role
Change-Id: I78fa4a1438b49de40e16ebeb79276d74b9ecc5a6
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 24 Nov 2021 11:10:08 +0000 (12:10 +0100)]
[ANSIBLE] Switch default helm version to 3.6.3
Change-Id: Id7b9a183f97fe3002784f9a9482af9ff98c88bf2
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 23 Nov 2021 11:13:53 +0000 (12:13 +0100)]
[BUILD] Remove Helm v2 related artifacts
Change-Id: I59ab1615669949d04145ab5e2600b683ecd98826
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 17 Nov 2021 16:00:09 +0000 (17:00 +0100)]
[ANSIBLE] Add ghcr.io to simulated hosts list
Required by Platform chart for Chartmuseum
Change-Id: I3e981d2e2acdfcd781d5cdfd777924b489fa1593
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 16 Nov 2021 10:25:37 +0000 (11:25 +0100)]
[DOC] Update changelog
Added cert-manager
Added cmctl CLI tool
Change-Id: I36afe14ab024a09808540f4f7464ad1916892458
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Tue, 16 Nov 2021 10:21:41 +0000 (11:21 +0100)]
[ANSIBLE] Setup cmctl autocompletion
Bash autocompletion code is generated to facilitate autocompletion
for cmctl command.
Change-Id: I03494293bf91aada54af70f6e0fd2c49e2feea64
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Mon, 15 Nov 2021 13:27:23 +0000 (14:27 +0100)]
[ANSIBLE] Install cmctl utility
Cert-manager role will also install cmctl utility for cert-manager
resources management.
Change-Id: I4c4d9ecb243c951a190733230f310f4899c9bc23
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Mon, 15 Nov 2021 13:23:12 +0000 (14:23 +0100)]
[BUILD] Add download link for cmctl utility to binaries list
This will download cmctl tool (https://cert-manager.io/next-docs/usage/cmctl/)
Change-Id: I7247303d7ef5f0c8a7ab08c43a8705020918729a
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 10 Nov 2021 11:23:07 +0000 (12:23 +0100)]
[ANSIBLE] Add cert-manager provisioning playbook
It's also added to main site.yml
Change-Id: I8283945d74324234cae6ada8898be713576427d5
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 10 Nov 2021 11:18:38 +0000 (12:18 +0100)]
[BUILD] Fetch artifacts required by cert-manager
Relevant docker images required by cert-manager got added to image
list file
Helm chart archive file http link got added to utils list
Change-Id: Iee7856b98edda501ab60e06f95426ce939d116d1
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Bartek Grzybowski [Wed, 10 Nov 2021 10:53:15 +0000 (11:53 +0100)]
[ANSIBLE] Add cert-manager role
A role that provisions the cert-manager (https://cert-manager.io/)
onto Kubernetes cluster
Change-Id: Iced3be4fae7ed20be8f58662b03a8a97b454b470
Issue-ID: OOM-2871
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>