UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit c4b95b04 authored by Kiran Thyagaraja's avatar Kiran Thyagaraja
Browse files

Initial Commit

This merge request adds Kubevirt's Containerized Data Importer Helm Chart.
parent 8b4b2516
No related branches found
No related tags found
1 merge request!1CDI Initial Commit
Showing
with 9884 additions and 79 deletions
# Contributing
Your contributions are welcome!
To begin, review current [issues](https://repo1.dso.mil/platform-one/big-bang/apps/sandbox/cdi/-/boards) and submit a [new issue](https://repo1.dso.mil/platform-one/big-bang/apps/sandbox/cdi/-/issues/new) if current issues don't cover your need.
## Developers
This repository uses the following conventions:
* [Semantic Versioning](https://semver.org/)
* [Keep a Changelog](https://keepachangelog.com/)
* [Conventional Commits](https://www.conventionalcommits.org/)
This project generates the top level README.md, preferably using this [pre-commit hook](https://repo1.dso.mil/platform-one/big-bang/apps/library-charts/gluon/-/blob/master/docs/bb-package-readme.md#pre-commit-hook-method)
When submitting code updates:
1. ensure an issue has been created
2. create a branch off of main
3. _do the dew_
4. submit a [Merge Request](https://repo1.dso.mil/platform-one/big-bang/apps/sandbox/cdi/-/merge_requests)
5. Project owners will review the submission and engage with questions
# Cdi
# bigbang-cdi
#![Version: 0.0.1-bb.1](https://img.shields.io/badge/Version-0.0.1--bb.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.54.0](https://img.shields.io/badge/AppVersion-0.54.0-informational?style=flat-square)
BigBang compatible Helm chart for Containerized Data Importer (CDI).
## Getting started
## Learn More
* [Application Overview](docs/overview.md)
* [Other Documentation](docs/)
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
## Pre-Requisites
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
* Kubernetes Cluster deployed
* Kubernetes config installed in `~/.kube/config`
* Helm installed
## Add your files
Install Helm
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
https://helm.sh/docs/intro/install/
```
cd existing_repo
git remote add origin https://repo1.dso.mil/platform-one/big-bang/apps/sandbox/cdi.git
git branch -M main
git push -uf origin main
```
## Integrate with your tools
- [ ] [Set up project integrations](https://repo1.dso.mil/platform-one/big-bang/apps/sandbox/cdi/-/settings/integrations)
## Collaborate with your team
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
- [ ] [Automatically merge when pipeline succeeds](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
## Test and Deploy
Use the built-in continuous integration in GitLab.
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
***
# Editing this README
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template.
## Deployment
## Suggestions for a good README
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
## Name
Choose a self-explaining name for your project.
## Description
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
## Badges
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
## Visuals
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
## Installation
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
## Usage
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
## Support
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
* Clone down the repository
* cd into directory
```bash
helm install bigbang-cdi chart/
```
## Roadmap
If you have ideas for releases in the future, it is a good idea to list them in the README.
## Values
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| cdi.enabled | bool | `true` | |
| cdi.git.repo | string | `"https://repo1.dso.mil/platform-one/big-bang/apps/sandbox/cdi"` | |
| cdi.git.branch | string | `"image_pull_secrets"` | |
| cdi.git.path | string | `"chart"` | |
| cdi.flux | object | `{}` | |
| monitoring.enabled | bool | `false` | |
| logging.enabled | bool | `false` | |
| clusterAuditor.enabled | bool | `false` | |
| gatekeeper.enabled | bool | `false` | |
| eckoperator.enabled | bool | `false` | |
| kiali.enabled | bool | `false` | |
| jaeger.enabled | bool | `false` | |
| fluentbit.enabled | bool | `false` | |
| twistlock.enabled | bool | `false` | |
| flux.timeout | string | `"10m"` | |
| flux.interval | string | `"2m"` | |
| flux.test.enable | bool | `false` | |
| flux.install.remediation.retries | int | `-1` | |
| flux.upgrade.remediation.retries | int | `-1` | |
| flux.upgrade.remediation.remediateLastFailure | bool | `true` | |
| flux.upgrade.cleanupOnFail | bool | `true` | |
| flux.rollback.timeout | string | `"10m"` | |
| flux.rollback.cleanupOnFail | bool | `true` | |
## Contributing
State if you are open to contributions and what your requirements are for accepting them.
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
## Authors and acknowledgment
Show your appreciation to those who have contributed to the project.
## License
For open source projects, say how it is licensed.
## Project status
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
Please see the [contributing guide](./CONTRIBUTING.md) if you are interested in contributing.
apiVersion: v2
name: cdi
description: Containerized Data Importer helm chart package
type: application
version: 0.0.1-bb.1
appVersion: "1.52.0"
source diff could not be displayed: it is too large. Options to address this: view the blob.
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
name: cdi-operator
prometheus.cdi.kubevirt.io: "true"
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/name: "cdi"
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
name: cdi-operator
namespace: {{ .Release.Namespace }}
spec:
replicas: {{ .Values.deployment.spec.replicas }}
selector:
matchLabels:
name: cdi-operator
operator.cdi.kubevirt.io: ""
strategy: {}
template:
metadata:
labels:
name: cdi-operator
operator.cdi.kubevirt.io: ""
prometheus.cdi.kubevirt.io: "true"
spec:
containers:
{{- with .Values.deployment.spec.template.spec.containers }}
- env:
- name: DEPLOY_CLUSTER_RESOURCES
value: "true"
- name: OPERATOR_VERSION
value: v1.51.0
- name: CONTROLLER_IMAGE
value: {{ .controller_image.registry }}/{{ .controller_image.name }}:{{ .controller_image.version }}
- name: IMPORTER_IMAGE
value: {{ .importer_image.registry }}/{{ .importer_image.name }}:{{ .importer_image.version }}
- name: CLONER_IMAGE
value: {{ .cloner_image.registry }}/{{ .cloner_image.name }}:{{ .cloner_image.version }}
- name: APISERVER_IMAGE
value: {{ .apiserver_image.registry }}/{{ .apiserver_image.name }}:{{ .apiserver_image.version }}
- name: UPLOAD_SERVER_IMAGE
value: {{ .upload_server_image.registry }}/{{ .upload_server_image.name }}:{{ .upload_server_image.version }}
- name: UPLOAD_PROXY_IMAGE
value: {{ .upload_proxy_image.registry }}/{{ .upload_proxy_image.name }}:{{ .upload_proxy_image.version }}
- name: VERBOSITY
value: "1"
- name: PULL_POLICY
value: IfNotPresent
- name: MONITORING_NAMESPACE
image: {{ .operator_image.registry }}/{{ .operator_image.name }}:{{ .operator_image.version }}
imagePullPolicy: IfNotPresent
name: cdi-operator
ports:
- containerPort: {{ .ports.metricsPort }}
name: metrics
protocol: TCP
resources:
requests:
cpu: {{ .resources.requests.cpu }}
memory: {{ .resources.requests.memory }}
{{- end }}
nodeSelector:
kubernetes.io/os: linux
securityContext:
runAsNonRoot: true
serviceAccountName: cdi-operator
tolerations:
- key: CriticalAddonsOnly
operator: Exists
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
app.kubernetes.io/component: storage
app.kubernetes.io/managed-by: cdi-operator
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/name: "cdi"
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
name: cdi-operator
namespace: {{ .Release.Namespace }}
rules:
- apiGroups:
- rbac.authorization.k8s.io
resources:
- rolebindings
- roles
verbs:
- '*'
- apiGroups:
- ""
resources:
- serviceaccounts
- configmaps
- events
- secrets
- services
verbs:
- '*'
- apiGroups:
- apps
resources:
- deployments
- deployments/finalizers
verbs:
- '*'
- apiGroups:
- route.openshift.io
resources:
- routes
- routes/custom-host
verbs:
- '*'
- apiGroups:
- config.openshift.io
resources:
- proxies
verbs:
- get
- list
- watch
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
- prometheusrules
verbs:
- get
- list
- watch
- create
- delete
- update
- patch
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- '*'
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
app.kubernetes.io/component: storage
app.kubernetes.io/managed-by: cdi-operator
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/name: "cdi"
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
name: cdi-operator
namespace: {{ .Release.Namespace }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: cdi-operator
subjects:
- kind: ServiceAccount
name: cdi-operator
namespace: {{ .Release.Namespace }}
apiVersion: v1
kind: ConfigMap
metadata:
labels:
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/name: "cdi"
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
name: cdi-operator-leader-election-helper
namespace: {{ .Release.Namespace }}
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/name: "cdi"
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
name: cdi-operator
namespace: {{ .Release.Namespace }}
apiVersion: cdi.kubevirt.io/v1beta1
kind: CDI
metadata:
name: cdi
namespace: {{ .Release.Namespace }}
labels:
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/name: "cdi"
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
imagePullPolicy: IfNotPresent
infra:
nodeSelector:
kubernetes.io/os: linux
tolerations:
- key: CriticalAddonsOnly
operator: Exists
workload:
nodeSelector:
kubernetes.io/os: linux
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/name: "cdi"
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
name: cdi-operator-cluster
rules:
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterrolebindings
- clusterroles
verbs:
- '*'
- apiGroups:
- security.openshift.io
resources:
- securitycontextconstraints
verbs:
- get
- list
- watch
- update
- create
- apiGroups:
- ""
resources:
- pods
- services
verbs:
- get
- list
- watch
- delete
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- '*'
- apiGroups:
- cdi.kubevirt.io
- upload.cdi.kubevirt.io
resources:
- '*'
verbs:
- '*'
- apiGroups:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
- mutatingwebhookconfigurations
verbs:
- '*'
- apiGroups:
- apiregistration.k8s.io
resources:
- apiservices
verbs:
- '*'
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- persistentvolumeclaims
verbs:
- get
- apiGroups:
- ""
resources:
- namespaces
verbs:
- get
- apiGroups:
- cdi.kubevirt.io
resources:
- datavolumes
verbs:
- list
- get
- apiGroups:
- cdi.kubevirt.io
resources:
- datasources
verbs:
- list
- get
- apiGroups:
- cdi.kubevirt.io
resources:
- cdis
verbs:
- get
- apiGroups:
- cdi.kubevirt.io
resources:
- cdis/finalizers
verbs:
- '*'
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- apiGroups:
- ""
resources:
- persistentvolumes
- persistentvolumeclaims
- volumesnapshots
verbs:
- get
- list
- watch
- create
- update
- delete
- apiGroups:
- ""
resources:
- persistentvolumeclaims/finalizers
- pods/finalizers
- volumesnapshots/finalizers
verbs:
- update
- apiGroups:
- ""
resources:
- pods
- services
verbs:
- get
- list
- watch
- create
- delete
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
- csidrivers
verbs:
- get
- list
- watch
- apiGroups:
- route.openshift.io
resources:
- routes
verbs:
- get
- list
- watch
- apiGroups:
- config.openshift.io
resources:
- proxies
verbs:
- get
- list
- watch
- apiGroups:
- cdi.kubevirt.io
resources:
- '*'
verbs:
- '*'
- apiGroups:
- snapshot.storage.k8s.io
resources:
- '*'
verbs:
- '*'
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- get
- list
- watch
- apiGroups:
- scheduling.k8s.io
resources:
- priorityclasses
verbs:
- get
- list
- watch
- apiGroups:
- image.openshift.io
resources:
- imagestreams
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- secrets
verbs:
- create
- apiGroups:
- batch
resources:
- cronjobs
verbs:
- list
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- list
- watch
- apiGroups:
- ""
resources:
- persistentvolumeclaims
verbs:
- get
- apiGroups:
- cdi.kubevirt.io
resources:
- dataimportcrons
verbs:
- get
- list
- update
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/name: "cdi"
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/version: {{ .Chart.AppVersion }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
name: cdi-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cdi-operator-cluster
subjects:
- kind: ServiceAccount
name: cdi-operator
namespace: {{ .Release.Namespace }}
deployment:
spec:
# -- replica count
replicas: 1
template:
spec:
containers:
operator_image:
name: cdi-operator
registry: quay.io/kubevirt
version: v1.52.0
controller_image:
name: cdi-controller
registry: quay.io/kubevirt
version: v1.52.0
importer_image:
name: cdi-importer
registry: quay.io/kubevirt
version: v1.52.0
cloner_image:
name: cdi-cloner
registry: quay.io/kubevirt
version: v1.52.0
apiserver_image:
name: cdi-apiserver
registry: quay.io/kubevirt
version: v1.52.0
upload_server_image:
name: cdi-uploadserver
registry: quay.io/kubevirt
version: v1.52.0
upload_proxy_image:
name: cdi-uploadproxy
registry: quay.io/kubevirt
version: v1.52.0
ports:
metricsPort: 8443
resources:
requests:
cpu: 10m
memory: 150Mi
imagePullSecrets: []
rbac:
create: false
serviceAccount:
create: false
resources:
- cdi-operator.yaml
- cdi-cr.yaml
apiVersion: cdi.kubevirt.io/v1beta1
kind: CDI
metadata:
name: cdi
spec:
imagePullPolicy: IfNotPresent
infra:
nodeSelector:
kubernetes.io/os: linux
tolerations:
- key: CriticalAddonsOnly
operator: Exists
workload:
nodeSelector:
kubernetes.io/os: linux
This diff is collapsed.
#!/bin/bash
scriptDir=$(pwd)
# Check for env file (~/.kubevirt-eks)
envFile=~/.kubevirt-eks
if [ -f "$envFile" ]; then
source $envFile
else
echo "Environment file with registry1 credentials does not exist."
exit 1
fi
# Check for ib_creds.yaml file (~/.ib_creds.yaml)
ibCredsFile=~/.ib_creds.yaml
if [ -f "$ibCredsFile" ]; then
echo "IB Creds file exists, continuing..."
else
echo "IB Creds file does not exist, exiting."
exit 1
fi
# Create EKS cluster
eksctl create cluster -f eks-cluster.yaml
# Clone bigbang
if [ -d $scriptDir/bigbang ]; then
echo "Bigbang directory exists"
else
git clone https://repo1.dso.mil/platform-one/big-bang/bigbang.git
fi
# Install Flux
$scriptDir/bigbang/scripts/install_flux.sh -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD
sleep 25
# Install bigbang and Kubevirt
helm upgrade -i -n bigbang --create-namespace \
-f $scriptDir/bigbang/chart/values.yaml \
-f ../../bigbang/values.yaml \
-f ~/.ib_creds.yaml \
-f https://repo1.dso.mil/platform-one/big-bang/bigbang/-/raw/master/chart/ingress-certs.yaml \
bigbang-kubevirt ../../bigbang
# Give AWS access to other Kubevirt team members
for user in ${USER_LIST[@]}; do
eksctl create iamidentitymapping --cluster kuvevirt-test-cluster --region=us-east-1 --arn \
arn:aws:iam::${AWS_ACCOUNT_ID}:user/$user --group system:masters --no-duplicate-arns
done
# Remove bigbang repo
if [ -d $scriptDir/bigbang ]; then
rm -rf $scriptDir/bigbang
fi
\ No newline at end of file
#!/bin/bash
# Uninstall bigbang
echo "Uninstall Bigbang and Kubevirt"
helm delete bigbang-kubevirt -n bigbang
# Delete Flux
echo "Delete flux"
kubectl delete ns flux-system
# may need to remove finalizer see bigbang/scripts/remove-ns-finalizer.sh
# Delete cluster
echo "Delete EKS cluster"
eksctl delete cluster -f eks-cluster.yaml
\ No newline at end of file
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
name: kubevirt-test-cluster
region: us-east-1
vpc:
subnets:
private:
us-east-1a: { id: subnet-55fb9374 }
us-east-1b: { id: subnet-5dfcc110 }
managedNodeGroups:
- name: kubevirt-workers-1
labels: { role: workers }
instanceType: m5.xlarge
desiredCapacity: 3
privateNetworking: true
volumeSize: 100
volumeType: gp2
\ No newline at end of file
#!/bin/bash
# source: https://repo1.dso.mil/platform-one/big-bang/apps/library-charts/gluon/-/blob/master/docs/bb-package-readme.md
curl -sS -O https://repo1.dso.mil/platform-one/big-bang/apps/library-charts/gluon/-/raw/master/docs/README.md.gotmpl
curl -sS -O https://repo1.dso.mil/platform-one/big-bang/apps/library-charts/gluon/-/raw/master/docs/.helmdocsignore
curl -sS -O https://repo1.dso.mil/platform-one/big-bang/apps/library-charts/gluon/-/raw/master/docs/_templates.gotmpl
# Update to your helm-docs binary path (v1.10.0)
/usr/local/bin/helm-docs -s file -t `pwd`/README.md.gotmpl -t `pwd`/_templates.gotmpl --dry-run > README.md
# Uncomment to use docker
# docker run --rm -v "`pwd`:/helm-docs" -u $(id -u) jnorwood/helm-docs:v1.10.0 -s file -t /helm-docs/README.md.gotmpl -t /helm-docs/_templates.gotmpl --dry-run > README.md
rm .helmdocsignore README.md.gotmpl _templates.gotmpl
git add README.md
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment