[Contrib] Authorize choice of subcomponents 39/105239/2
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Tue, 7 Apr 2020 10:02:22 +0000 (12:02 +0200)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Wed, 8 Apr 2020 11:53:39 +0000 (13:53 +0200)
Instead of forcing installation of all contrib components, make the
installation of these components enabled with a toggle, so each person
can choose to install a subset, all or none.

Issue-ID: OOM-2352
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ie112fe1f1864587b9ac69f18967a3c28d16bdbbe

67 files changed:
kubernetes/contrib/Makefile [new file with mode: 0644]
kubernetes/contrib/components/awx/Chart.yaml [moved from kubernetes/contrib/charts/awx/Chart.yaml with 100% similarity]
kubernetes/contrib/components/awx/Makefile [moved from kubernetes/contrib/charts/awx/Makefile with 100% similarity]
kubernetes/contrib/components/awx/charts/awx-postgres/Chart.yaml [moved from kubernetes/contrib/charts/awx/charts/awx-postgres/Chart.yaml with 100% similarity]
kubernetes/contrib/components/awx/charts/awx-postgres/templates/NOTES.txt [moved from kubernetes/contrib/charts/awx/charts/awx-postgres/templates/NOTES.txt with 100% similarity]
kubernetes/contrib/components/awx/charts/awx-postgres/templates/deployment.yaml [moved from kubernetes/contrib/charts/awx/charts/awx-postgres/templates/deployment.yaml with 100% similarity]
kubernetes/contrib/components/awx/charts/awx-postgres/templates/pv.yaml [moved from kubernetes/contrib/charts/awx/charts/awx-postgres/templates/pv.yaml with 100% similarity]
kubernetes/contrib/components/awx/charts/awx-postgres/templates/pvc.yaml [moved from kubernetes/contrib/charts/awx/charts/awx-postgres/templates/pvc.yaml with 100% similarity]
kubernetes/contrib/components/awx/charts/awx-postgres/templates/service.yaml [moved from kubernetes/contrib/charts/awx/charts/awx-postgres/templates/service.yaml with 100% similarity]
kubernetes/contrib/components/awx/charts/awx-postgres/values.yaml [moved from kubernetes/contrib/charts/awx/charts/awx-postgres/values.yaml with 100% similarity]
kubernetes/contrib/components/awx/charts/awx/Chart.yaml [moved from kubernetes/contrib/charts/awx/charts/awx/Chart.yaml with 100% similarity]
kubernetes/contrib/components/awx/charts/awx/resources/config/credentials.py [moved from kubernetes/contrib/charts/awx/charts/awx/resources/config/credentials.py with 100% similarity]
kubernetes/contrib/components/awx/charts/awx/resources/config/environment.sh [moved from kubernetes/contrib/charts/awx/charts/awx/resources/config/environment.sh with 100% similarity]
kubernetes/contrib/components/awx/charts/awx/templates/configmap.yaml [moved from kubernetes/contrib/charts/awx/charts/awx/templates/configmap.yaml with 100% similarity]
kubernetes/contrib/components/awx/charts/awx/templates/job.yaml [moved from kubernetes/contrib/charts/awx/charts/awx/templates/job.yaml with 100% similarity]
kubernetes/contrib/components/awx/charts/awx/templates/secret.yaml [moved from kubernetes/contrib/charts/awx/charts/awx/templates/secret.yaml with 100% similarity]
kubernetes/contrib/components/awx/charts/awx/templates/service.yaml [moved from kubernetes/contrib/charts/awx/charts/awx/templates/service.yaml with 100% similarity]
kubernetes/contrib/components/awx/charts/awx/templates/serviceaccout.yaml [moved from kubernetes/contrib/charts/awx/charts/awx/templates/serviceaccout.yaml with 100% similarity]
kubernetes/contrib/components/awx/charts/awx/templates/statefulset.yaml [moved from kubernetes/contrib/charts/awx/charts/awx/templates/statefulset.yaml with 100% similarity]
kubernetes/contrib/components/awx/charts/awx/values.yaml [moved from kubernetes/contrib/charts/awx/charts/awx/values.yaml with 100% similarity]
kubernetes/contrib/components/awx/requirements.yaml [moved from kubernetes/contrib/charts/awx/requirements.yaml with 100% similarity]
kubernetes/contrib/components/awx/values.yaml [moved from kubernetes/contrib/charts/awx/values.yaml with 100% similarity]
kubernetes/contrib/components/netbox/.helmignore [moved from kubernetes/contrib/charts/netbox/.helmignore with 100% similarity]
kubernetes/contrib/components/netbox/Chart.yaml [moved from kubernetes/contrib/charts/netbox/Chart.yaml with 100% similarity]
kubernetes/contrib/components/netbox/Makefile [moved from kubernetes/contrib/charts/netbox/Makefile with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/.helmignore [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/.helmignore with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/Chart.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/Chart.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/configuration/configuration.py [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/configuration/configuration.py with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/configuration/gunicorn_config.py [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/configuration/gunicorn_config.py with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/configuration/ldap_config.py [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/configuration/ldap_config.py with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/custom_fields.yml [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/initializers/custom_fields.yml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/groups.yml [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/initializers/groups.yml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/initializers/users.yml [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/initializers/users.yml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/provisioning/provision.sh [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/provisioning/provision.sh with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/startup_scripts/00_users.py [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/startup_scripts/00_users.py with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/startup_scripts/10_groups.py [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/startup_scripts/10_groups.py with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/resources/config/startup_scripts/20_custom_fields.py [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/resources/config/startup_scripts/20_custom_fields.py with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/templates/NOTES.txt [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/templates/NOTES.txt with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/templates/configmap.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/templates/configmap.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/templates/deployment.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/templates/deployment.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/templates/job.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/templates/job.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/templates/pv.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/templates/pv.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/templates/pvc.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/templates/pvc.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/templates/secrets.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/templates/secrets.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/templates/service.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/templates/service.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-app/values.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-app/values.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-nginx/.helmignore [moved from kubernetes/contrib/charts/netbox/charts/netbox-nginx/.helmignore with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-nginx/Chart.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-nginx/Chart.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-nginx/resources/config/nginx.conf [moved from kubernetes/contrib/charts/netbox/charts/netbox-nginx/resources/config/nginx.conf with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-nginx/templates/NOTES.txt [moved from kubernetes/contrib/charts/netbox/charts/netbox-nginx/templates/NOTES.txt with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-nginx/templates/configmap.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-nginx/templates/configmap.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-nginx/templates/deployment.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-nginx/templates/deployment.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-nginx/templates/service.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-nginx/templates/service.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-nginx/values.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-nginx/values.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-postgres/.helmignore [moved from kubernetes/contrib/charts/netbox/charts/netbox-postgres/.helmignore with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-postgres/Chart.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-postgres/Chart.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-postgres/templates/NOTES.txt [moved from kubernetes/contrib/charts/netbox/charts/netbox-postgres/templates/NOTES.txt with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-postgres/templates/configmap.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-postgres/templates/configmap.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-postgres/templates/deployment.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-postgres/templates/deployment.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-postgres/templates/pv.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-postgres/templates/pv.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-postgres/templates/pvc.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-postgres/templates/pvc.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-postgres/templates/service.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-postgres/templates/service.yaml with 100% similarity]
kubernetes/contrib/components/netbox/charts/netbox-postgres/values.yaml [moved from kubernetes/contrib/charts/netbox/charts/netbox-postgres/values.yaml with 100% similarity]
kubernetes/contrib/components/netbox/requirements.yaml [moved from kubernetes/contrib/charts/netbox/requirements.yaml with 100% similarity]
kubernetes/contrib/components/netbox/templates/ingress.yaml [moved from kubernetes/contrib/charts/netbox/templates/ingress.yaml with 100% similarity]
kubernetes/contrib/components/netbox/values.yaml [moved from kubernetes/contrib/charts/netbox/values.yaml with 100% similarity]
kubernetes/contrib/requirements.yaml

diff --git a/kubernetes/contrib/Makefile b/kubernetes/contrib/Makefile
new file mode 100644 (file)
index 0000000..3e9d7a7
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright Â© 2018  AT&T Intellectual Property.  All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+make-contrib: make-contrib-awx make-contrib-netbox make-contrib-core
+
+make-contrib-awx:
+       cd components && helm dep up awx && helm lint awx
+
+make-contrib-netbox:
+       cd components && helm dep up netbox && helm lint netbox
+
+make-contrib-core:
+       helm dep up . && helm lint .
+
+clean:
+       @find . -type f -name '*.tgz' -delete
+       @find . -type f -name '*.lock' -delete
index 6e0025e..2574cea 100644 (file)
 dependencies:
   - name: common
     version: ~6.x-0
-    repository: '@local'
\ No newline at end of file
+    repository: '@local'
+  - name: netbox
+    version: ~6.x-0
+    repository: 'file://components/netbox'
+    condition: netbox.enabled
+  - name: awx
+    version: ~6.x-0
+    repository: 'file://components/awx'
+    condition: awx.enabled