Skip to content

added helm chart for aci operator and helm option to acc-provision - #683

Open
siva-muni wants to merge 1 commit into
masterfrom
helm_values_option
Open

added helm chart for aci operator and helm option to acc-provision#683
siva-muni wants to merge 1 commit into
masterfrom
helm_values_option

Conversation

@siva-muni

@siva-muni siva-muni commented Sep 6, 2022

Copy link
Copy Markdown
Contributor

this PR is for the task https://github.com/noironetworks/support/issues/1879.

  • tested the helm chart on rke cluster, able to bring up the aci-operator and py-tests also passed on the cluster.
  • Need to test on other cluster (k8s and openshift) mean while Requesting the PR for review.
  • during the review please ignore below files. these are the helm chart default files
    • aci-helm/LICENSE
    • aci-helm/README.md
    • aci-helm/templates/_helpers.tpl

@snaiksat

Copy link
Copy Markdown
Contributor

Could we use the acc-provision command to generate helm chart package itself rather than creating the directory structure in this repo? This package can be generated using a different argument from the one you are using for generating the values. The package can be generated and pushed to a helm repo any time acc-provision is released.

namespace: {{ default "aci-containers-system" (.Values.kubeConfig).system_namespace }}
---
apiVersion: {{ default "apps/v1" (.Values.kubeConfig).use_apps_api }}
kind: Deployment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we could separate Deployment from RBAC objects?

[-p pass] [-w timeout] [--list-flavors] [-f flavor]
[-t token] [--test-data-out file] [--skip-kafka-certs]
[--upgrade] [--disable-multus disable_multus]
[--upgrade] [--disable-multus disable_multus] [--helm]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we have two flags here:

  1. [--helm-values file]
  2. [--helm-chart file] = a generated aci-helm.tar.gz chart (equivalent to output of helm package)

Or

  1. [--helm dir] which generates both files at the dir

Comment thread aci-helm/README.md
To install
-----------

helm install <helm-rel-name> aci-helm

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aci-helm -> aci-cni

@@ -0,0 +1,167 @@

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a copy of: https://github.com/noironetworks/acc-provision/blob/master/provision/acc_provision/templates/acc-provision-crd.yaml
and I would suggest that we do not create manual copies of files like this.

Comment thread aci-helm/README.md
To install
-----------

helm install <helm-rel-name> aci-helm

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aci-helm -> aci-cni (here and everywhere else we have used)

@snaiksat

Copy link
Copy Markdown
Contributor

(didnt realize my inline comments had not gotten published)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants