diff --git a/internal/pkg/show/config/plugins/argocd.yaml b/internal/pkg/show/config/plugins/argocd.yaml index 2c00f6aee..9f23b292e 100644 --- a/internal/pkg/show/config/plugins/argocd.yaml +++ b/internal/pkg/show/config/plugins/argocd.yaml @@ -1,36 +1,38 @@ tools: - # name of the tool - - name: argocd - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. - dependsOn: [ ] - # options for the plugin - options: - # Helm repo information, this section is optional - repo: - # name of the Helm repo - name: argo - # url of the Helm repo - url: https://argoproj.github.io/argo-helm - # Helm chart information - chart: - # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" - chartPath: "" - # name of the chart - chartName: argo/argo-cd - # release name of the chart - releaseName: argocd - # k8s namespace where ArgoCD will be installed - namespace: argocd - # whether to wait for the release to be deployed or not - wait: true - # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m0s - timeout: 5m - # whether to perform a CRD upgrade during installation - upgradeCRDs: true - # custom configuration (Optional). You can refer to [ArgoCD values.yaml](https://github.com/argoproj/argo-helm/blob/master/charts/argo-cd/values.yaml) - valuesYaml: | - controller: - service: - port: 8080 +# name of the tool +- name: argocd + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. + dependsOn: [ ] + # options for the plugin + options: + # Helm repo information, this section is optional + repo: + # name of the Helm repo + name: argo + # url of the Helm repo + url: https://argoproj.github.io/argo-helm + # Helm chart information + chart: + # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" + chartPath: "" + # name of the chart + chartName: argo/argo-cd + # version of the chart + version: "" + # release name of the chart + releaseName: argocd + # k8s namespace where ArgoCD will be installed + namespace: argocd + # whether to wait for the release to be deployed or not + wait: true + # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m0s + timeout: 5m + # whether to perform a CRD upgrade during installation + upgradeCRDs: true + # custom configuration (Optional). You can refer to [ArgoCD values.yaml](https://github.com/argoproj/argo-helm/blob/master/charts/argo-cd/values.yaml) + valuesYaml: | + controller: + service: + port: 8080 diff --git a/internal/pkg/show/config/plugins/argocdapp.yaml b/internal/pkg/show/config/plugins/argocdapp.yaml index 43bc4b192..ec6535b80 100644 --- a/internal/pkg/show/config/plugins/argocdapp.yaml +++ b/internal/pkg/show/config/plugins/argocdapp.yaml @@ -1,29 +1,29 @@ tools: - # name of the tool - - name: argocdapp - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. - dependsOn: [ "argocd.ARGOCD_INSTANCE_NAME" ] - # options for the plugin - options: - # information on the ArgoCD Application - app: - # name of the ArgoCD Application - name: hello - # where the ArgoCD Application custom resource will be created - namespace: argocd - # destination of the ArgoCD Application - destination: - # on which server to deploy - server: https://kubernetes.default.svc - # in which namespace to deploy - namespace: default - # source of the application - source: - # which values file to use in the Helm chart - valuefile: values.yaml - # path of the Helm chart - path: charts/go-hello-http - # Helm chart repo URL, this is only an example, do not use this - repoURL: YOUR_CHART_REPO_URL +# name of the tool +- name: argocdapp + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. + dependsOn: [ "argocd.ARGOCD_INSTANCE_NAME" ] + # options for the plugin + options: + # information on the ArgoCD Application + app: + # name of the ArgoCD Application + name: hello + # where the ArgoCD Application custom resource will be created + namespace: argocd + # destination of the ArgoCD Application + destination: + # on which server to deploy + server: https://kubernetes.default.svc + # in which namespace to deploy + namespace: default + # source of the application + source: + # which values file to use in the Helm chart + valuefile: values.yaml + # path of the Helm chart + path: charts/go-hello-http + # Helm chart repo URL, this is only an example, do not use this + repoURL: YOUR_CHART_REPO_URL diff --git a/internal/pkg/show/config/plugins/artifactory.yaml b/internal/pkg/show/config/plugins/artifactory.yaml index 85b5267c1..022431e01 100644 --- a/internal/pkg/show/config/plugins/artifactory.yaml +++ b/internal/pkg/show/config/plugins/artifactory.yaml @@ -17,6 +17,8 @@ tools: chartPath: "" # name of the chart chartName: jfrog/artifactory + # version of the chart + version: "" # k8s namespace where Harbor will be installed namespace: artifactory # release name of the chart diff --git a/internal/pkg/show/config/plugins/githubactions-golang.yaml b/internal/pkg/show/config/plugins/githubactions-golang.yaml index dd0f0e907..149ee73df 100644 --- a/internal/pkg/show/config/plugins/githubactions-golang.yaml +++ b/internal/pkg/show/config/plugins/githubactions-golang.yaml @@ -1,48 +1,48 @@ tools: - # name of the tool - - name: githubactions-golang - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. - dependsOn: [ ] - # options for the plugin - options: - # the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. - owner: YOUR_GITHUB_USERNAME - # the repo where you'd like to setup GitHub Actions; please change the value below to an existing repo. - # the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. - org: YOUR_ORGANIZATION_NAME - repo: YOUR_REPO_NAME - # programming language specific settings - language: - name: go - # version of the language - version: "1.18" - # main branch of the repo (to which branch the plugin will submit the workflows) - branch: main - build: +# name of the tool +- name: githubactions-golang + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. + dependsOn: [ ] + # options for the plugin + options: + # the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. + owner: YOUR_GITHUB_USERNAME + # the repo where you'd like to setup GitHub Actions; please change the value below to an existing repo. + # the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. + org: YOUR_ORGANIZATION_NAME + repo: YOUR_REPO_NAME + # programming language specific settings + language: + name: go + # version of the language + version: "1.18" + # main branch of the repo (to which branch the plugin will submit the workflows) + branch: main + build: + # default to false + enable: True + # build command, OPTIONAL, the given value below is default value + command: "go build ./..." + test: + # default to false + enable: True + # test command, OPTIONAL, the given value below is default value + command: "go test ./..." + coverage: # default to false - enable: True - # build command, OPTIONAL, the given value below is default value - command: "go build ./..." - test: - # default to false - enable: True - # test command, OPTIONAL, the given value below is default value - command: "go test ./..." - coverage: - # default to false - enable: False - # go test profile subcommand, OPTIONAL, the given value below is default value - profile: "-race -covermode=atomic" - output: "coverage.out" - docker: - # docker build/push related, default to false - enable: True - registry: - # dockerhub or harbor, default to dockerhub - type: dockerhub - # dockerhub/harbor username - username: YOUR_DOCKERHUB_USERNAME - # dockerhub/harbor image repository name - repository: YOUR_DOCKERHUB_REPOSITORY + enable: False + # go test profile subcommand, OPTIONAL, the given value below is default value + profile: "-race -covermode=atomic" + output: "coverage.out" + docker: + # docker build/push related, default to false + enable: True + registry: + # dockerhub or harbor, default to dockerhub + type: dockerhub + # dockerhub/harbor username + username: YOUR_DOCKERHUB_USERNAME + # dockerhub/harbor image repository name + repository: YOUR_DOCKERHUB_REPOSITORY diff --git a/internal/pkg/show/config/plugins/githubactions-nodejs.yaml b/internal/pkg/show/config/plugins/githubactions-nodejs.yaml index 7c992e50e..6b7558bea 100644 --- a/internal/pkg/show/config/plugins/githubactions-nodejs.yaml +++ b/internal/pkg/show/config/plugins/githubactions-nodejs.yaml @@ -1,22 +1,22 @@ tools: - # name of the tool - - name: githubactions-nodejs - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. - dependsOn: [ ] - # options for the plugin - options: - # the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. - owner: YOUR_GITHUB_USERNAME - # the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. - org: YOUR_ORGANIZATION_NAME - # the repo where you'd like to setup GitHub Actions; please change the value below to an existing repo. - repo: YOUR_REPO_NAME - # programming language specific settings - language: - name: nodejs - # version of the language - version: "16.14" - # main branch of the repo (to which branch the plugin will submit the workflows) - branch: main +# name of the tool +- name: githubactions-nodejs + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. + dependsOn: [ ] + # options for the plugin + options: + # the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. + owner: YOUR_GITHUB_USERNAME + # the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. + org: YOUR_ORGANIZATION_NAME + # the repo where you'd like to setup GitHub Actions; please change the value below to an existing repo. + repo: YOUR_REPO_NAME + # programming language specific settings + language: + name: nodejs + # version of the language + version: "16.14" + # main branch of the repo (to which branch the plugin will submit the workflows) + branch: main diff --git a/internal/pkg/show/config/plugins/githubactions-python.yaml b/internal/pkg/show/config/plugins/githubactions-python.yaml index 58baffaf7..5aae327af 100644 --- a/internal/pkg/show/config/plugins/githubactions-python.yaml +++ b/internal/pkg/show/config/plugins/githubactions-python.yaml @@ -1,22 +1,22 @@ tools: - # name of the tool - - name: githubactions-python - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. - dependsOn: [ ] - # options for the plugin - options: - # the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. - owner: YOUR_GITHUB_USERNAME - # the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. - org: YOUR_ORGANIZATION_NAME - # the repo where you'd like to setup GitHub Actions; please change the value below to an existing repo. - repo: YOUR_REPO_NAME - # programming language specific settings - language: - name: python - # version of the language - version: "3.8" - # main branch of the repo (to which branch the plugin will submit the workflows) - branch: main +# name of the tool +- name: githubactions-python + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. + dependsOn: [ ] + # options for the plugin + options: + # the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. + owner: YOUR_GITHUB_USERNAME + # the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. + org: YOUR_ORGANIZATION_NAME + # the repo where you'd like to setup GitHub Actions; please change the value below to an existing repo. + repo: YOUR_REPO_NAME + # programming language specific settings + language: + name: python + # version of the language + version: "3.8" + # main branch of the repo (to which branch the plugin will submit the workflows) + branch: main diff --git a/internal/pkg/show/config/plugins/gitlabci-generic.yaml b/internal/pkg/show/config/plugins/gitlabci-generic.yaml index 7ca2b631d..593bcb53a 100644 --- a/internal/pkg/show/config/plugins/gitlabci-generic.yaml +++ b/internal/pkg/show/config/plugins/gitlabci-generic.yaml @@ -1,19 +1,19 @@ tools: - # name of the tool - - name: gitlabci-generic - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. - dependsOn: [ ] - # options for the plugin - options: - projectRepo: - owner: YOUR_GITLAB_USERNAME - repo: YOUR_GITLAB_REPO_NAME - branch: YOUR_GITLAB_REPO_BRANCH - baseURL: YOUR_GITLAB_HOST_ADDRESS - ci: - remoteURL : https://someplace.com/to/download/your/template - vars: - key1: value1 - key2: value2 +# name of the tool +- name: gitlabci-generic + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. + dependsOn: [ ] + # options for the plugin + options: + projectRepo: + owner: YOUR_GITLAB_USERNAME + repo: YOUR_GITLAB_REPO_NAME + branch: YOUR_GITLAB_REPO_BRANCH + baseURL: YOUR_GITLAB_HOST_ADDRESS + ci: + remoteURL : https://someplace.com/to/download/your/template + vars: + key1: value1 + key2: value2 diff --git a/internal/pkg/show/config/plugins/gitlabci-golang.yaml b/internal/pkg/show/config/plugins/gitlabci-golang.yaml index 4cfc894e7..8b65d5a0a 100644 --- a/internal/pkg/show/config/plugins/gitlabci-golang.yaml +++ b/internal/pkg/show/config/plugins/gitlabci-golang.yaml @@ -1,14 +1,14 @@ tools: - # name of the tool - - name: gitlabci-golang - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. - dependsOn: [ ] - # options for the plugin - options: - projectRepo: - owner: YOUR_GITLAB_USERNAME - repo: YOUR_GITLAB_REPO_NAME - branch: YOUR_GITLAB_REPO_BRANCH - baseURL: YOUR_GITLAB_HOST_ADDRESS +# name of the tool +- name: gitlabci-golang + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. + dependsOn: [ ] + # options for the plugin + options: + projectRepo: + owner: YOUR_GITLAB_USERNAME + repo: YOUR_GITLAB_REPO_NAME + branch: YOUR_GITLAB_REPO_BRANCH + baseURL: YOUR_GITLAB_HOST_ADDRESS diff --git a/internal/pkg/show/config/plugins/harbor.yaml b/internal/pkg/show/config/plugins/harbor.yaml index a64f976c9..46d5a5285 100644 --- a/internal/pkg/show/config/plugins/harbor.yaml +++ b/internal/pkg/show/config/plugins/harbor.yaml @@ -17,6 +17,8 @@ tools: chartPath: "" # name of the chart chartName: harbor/harbor + # version of the chart + version: "" # k8s namespace where Harbor will be installed namespace: harbor # release name of the chart diff --git a/internal/pkg/show/config/plugins/hashicorp-vault.yaml b/internal/pkg/show/config/plugins/hashicorp-vault.yaml index 33dc8e19d..a3b7d4825 100644 --- a/internal/pkg/show/config/plugins/hashicorp-vault.yaml +++ b/internal/pkg/show/config/plugins/hashicorp-vault.yaml @@ -1,38 +1,40 @@ tools: - - name: hashicorp-vault - # id of the tool instance - instanceID: default - options: - repo: - # name of the Helm repo - name: hashicorp - # url of the Helm repo - url: https://helm.releases.hashicorp.com - # Helm chart information - chart: - # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" - chartPath: "" - # name of the chart - chartName: hashicorp/vault - # release name of the chart - releaseName: vault - # k8s namespace where Vault will be installed - namespace: vault - # whether to wait for the release to be deployed or not - wait: true - # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m - timeout: 5m - valuesYaml: | - global: +- name: hashicorp-vault + # id of the tool instance + instanceID: default + options: + repo: + # name of the Helm repo + name: hashicorp + # url of the Helm repo + url: https://helm.releases.hashicorp.com + # Helm chart information + chart: + # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" + chartPath: "" + # name of the chart + chartName: hashicorp/vault + # version of the chart + version: "" + # release name of the chart + releaseName: vault + # k8s namespace where Vault will be installed + namespace: vault + # whether to wait for the release to be deployed or not + wait: true + # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m + timeout: 5m + valuesYaml: | + global: + enabled: true + server: + affinity: "" + ha: enabled: true - server: - affinity: "" - ha: + replicas: 3 + raft: enabled: true - replicas: 3 - raft: - enabled: true - setNodeId: true - namespaceSelector: - matchLabels: - injection: enabled + setNodeId: true + namespaceSelector: + matchLabels: + injection: enabled diff --git a/internal/pkg/show/config/plugins/helm-generic.yaml b/internal/pkg/show/config/plugins/helm-generic.yaml index 9883329cb..f0d600bb4 100644 --- a/internal/pkg/show/config/plugins/helm-generic.yaml +++ b/internal/pkg/show/config/plugins/helm-generic.yaml @@ -1,33 +1,35 @@ tools: - # name of the tool - - name: helm-generic - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. - dependsOn: [ ] - # options for the plugin - options: - repo: - # name of the Helm repo, e.g. argo - name: HELM_REPO_NAME - # url of the Helm repo, e.g. https://argoproj.github.io/argo-helm - url: YOUR_CHART_REPO - # Helm chart information - chart: - # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" - chartPath: "" - # name of the chart, e.g. argo/argo-cd - chartName: CHART_NAME - # release name of the chart, e.g. argocd - releaseName: RELEASE_NAME - # k8s namespace, e.g. argocd - namespace: YOUR_CHART_NAMESPACE - # whether to wait for the release to be deployed or not - wait: true - # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m0s - timeout: 5m - # whether to perform a CRD upgrade during installation - upgradeCRDs: true - # custom configuration (Optional). e.g. You can refer to [ArgoCD values.yaml](https://github.com/argoproj/argo-helm/blob/master/charts/argo-cd/values.yaml) - valuesYaml: | - FOO: BAR +# name of the tool +- name: helm-generic + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. + dependsOn: [ ] + # options for the plugin + options: + repo: + # name of the Helm repo, e.g. argo + name: HELM_REPO_NAME + # url of the Helm repo, e.g. https://argoproj.github.io/argo-helm + url: YOUR_CHART_REPO + # Helm chart information + chart: + # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" + chartPath: "" + # name of the chart, e.g. argo/argo-cd + chartName: CHART_NAME + # version of the chart + version: "" + # release name of the chart, e.g. argocd + releaseName: RELEASE_NAME + # k8s namespace, e.g. argocd + namespace: YOUR_CHART_NAMESPACE + # whether to wait for the release to be deployed or not + wait: true + # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m0s + timeout: 5m + # whether to perform a CRD upgrade during installation + upgradeCRDs: true + # custom configuration (Optional). e.g. You can refer to [ArgoCD values.yaml](https://github.com/argoproj/argo-helm/blob/master/charts/argo-cd/values.yaml) + valuesYaml: | + FOO: BAR diff --git a/internal/pkg/show/config/plugins/jenkins.yaml b/internal/pkg/show/config/plugins/jenkins.yaml index 523583d24..9486ba610 100644 --- a/internal/pkg/show/config/plugins/jenkins.yaml +++ b/internal/pkg/show/config/plugins/jenkins.yaml @@ -19,6 +19,8 @@ tools: chartPath: "" # name of the chart chartName: jenkins/jenkins + # version of the chart + version: "" # k8s namespace where jenkins will be installed namespace: jenkins # whether to wait for the release to be deployed or not diff --git a/internal/pkg/show/config/plugins/jira-github-integ.yaml b/internal/pkg/show/config/plugins/jira-github-integ.yaml index e7fc9b2a7..abf69364e 100644 --- a/internal/pkg/show/config/plugins/jira-github-integ.yaml +++ b/internal/pkg/show/config/plugins/jira-github-integ.yaml @@ -1,23 +1,23 @@ tools: - # name of the tool - - name: jira-github-integ - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. - dependsOn: [ ] - # options for the plugin - options: - # the repo's owner - owner: YOUR_GITHUB_USERNAME - # the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. - org: YOUR_ORGANIZATION_NAME - # the repo where you'd like to setup GitHub Actions - repo: YOUR_REPO_NAME - # "base url: https://id.atlassian.net" - jiraBaseUrl: https://JIRA_ID.atlassian.net - # "need real user email in cloud Jira" - jiraUserEmail: JIRA_USER_EMAIL - # "get it from project url, like 'HEAP' from https://merico.atlassian.net/jira/software/projects/HEAP/pages" - jiraProjectKey: JIRA_PROJECT_KEY - # main branch of the repo (to which branch the plugin will submit the workflows) - branch: main +# name of the tool +- name: jira-github-integ + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. + dependsOn: [ ] + # options for the plugin + options: + # the repo's owner + owner: YOUR_GITHUB_USERNAME + # the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. + org: YOUR_ORGANIZATION_NAME + # the repo where you'd like to setup GitHub Actions + repo: YOUR_REPO_NAME + # "base url: https://id.atlassian.net" + jiraBaseUrl: https://JIRA_ID.atlassian.net + # "need real user email in cloud Jira" + jiraUserEmail: JIRA_USER_EMAIL + # "get it from project url, like 'HEAP' from https://merico.atlassian.net/jira/software/projects/HEAP/pages" + jiraProjectKey: JIRA_PROJECT_KEY + # main branch of the repo (to which branch the plugin will submit the workflows) + branch: main diff --git a/internal/pkg/show/config/plugins/kube-prometheus.yaml b/internal/pkg/show/config/plugins/kube-prometheus.yaml index 03c2b46b4..ac2ad1c8f 100644 --- a/internal/pkg/show/config/plugins/kube-prometheus.yaml +++ b/internal/pkg/show/config/plugins/kube-prometheus.yaml @@ -1,34 +1,36 @@ tools: - # name of the tool - - name: kube-prometheus - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. - dependsOn: [ ] - # options for the plugin - options: - # Helm repo information - repo: - # name of the Helm repo - name: prometheus-community - # url of the Helm repo - url: https://prometheus-community.github.io/helm-charts - # Helm chart information - chart: - # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" - chartPath: "" - # name of the chart - chartName: prometheus-community/kube-prometheus-stack - # release name of the chart - releaseName: prometheus - # k8s namespace where kube-prometheus will be installed - namespace: prometheus - # whether to wait for the release to be deployed or not - wait: true - # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m - timeout: 5m - # whether to perform a CRD upgrade during installation - upgradeCRDs: true - # custom configuration (Optional). You can refer to [kube-prometheus-stack values.yaml](https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml) - valuesYaml: | - namespaceOverride: "monitoring" +# name of the tool +- name: kube-prometheus + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. + dependsOn: [ ] + # options for the plugin + options: + # Helm repo information + repo: + # name of the Helm repo + name: prometheus-community + # url of the Helm repo + url: https://prometheus-community.github.io/helm-charts + # Helm chart information + chart: + # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" + chartPath: "" + # name of the chart + chartName: prometheus-community/kube-prometheus-stack + # version of the chart + version: "" + # release name of the chart + releaseName: prometheus + # k8s namespace where kube-prometheus will be installed + namespace: prometheus + # whether to wait for the release to be deployed or not + wait: true + # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m + timeout: 5m + # whether to perform a CRD upgrade during installation + upgradeCRDs: true + # custom configuration (Optional). You can refer to [kube-prometheus-stack values.yaml](https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml) + valuesYaml: | + namespaceOverride: "monitoring" diff --git a/internal/pkg/show/config/plugins/openldap.yaml b/internal/pkg/show/config/plugins/openldap.yaml index 85ea8bd2d..6929150c8 100644 --- a/internal/pkg/show/config/plugins/openldap.yaml +++ b/internal/pkg/show/config/plugins/openldap.yaml @@ -1,46 +1,48 @@ tools: - # name of the tool - - name: openldap - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. - dependsOn: [ ] - # options for the plugin - options: - repo: - # name of the Helm repo - name: helm-openldap - # url of the Helm repo - url: https://jp-gouin.github.io/helm-openldap/ - # Helm chart information - chart: - # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" - chartPath: "" - # name of the chart - chartName: helm-openldap/openldap-stack-ha - # release name of the chart - releaseName: openldap - # k8s namespace where OpenLDAP will be installed - namespace: openldap - # whether to wait for the release to be deployed or not - wait: true - # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m - timeout: 5m - # custom configuration (Optional). You can refer to https://github.com/jp-gouin/helm-openldap/blob/master/values.yaml - valuesYaml: | - replicaCount: 1 - service: - type: NodePort - env: - LDAP_ORGANISATION: "DevStream Inc." - LDAP_DOMAIN: "devstream.io" - persistence: +# name of the tool +- name: openldap + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. + dependsOn: [ ] + # options for the plugin + options: + repo: + # name of the Helm repo + name: helm-openldap + # url of the Helm repo + url: https://jp-gouin.github.io/helm-openldap/ + # Helm chart information + chart: + # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" + chartPath: "" + # name of the chart + chartName: helm-openldap/openldap-stack-ha + # release name of the chart + releaseName: openldap + # version of the chart + version: "" + # k8s namespace where OpenLDAP will be installed + namespace: openldap + # whether to wait for the release to be deployed or not + wait: true + # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m + timeout: 5m + # custom configuration (Optional). You can refer to https://github.com/jp-gouin/helm-openldap/blob/master/values.yaml + valuesYaml: | + replicaCount: 1 + service: + type: NodePort + env: + LDAP_ORGANISATION: "DevStream Inc." + LDAP_DOMAIN: "devstream.io" + persistence: + enabled: false + adminPassword: Not@SecurePassw0rd + configPassword: Not@SecurePassw0rd + ltb-passwd: + enabled : false + phpldapadmin: + enabled: true + ingress: enabled: false - adminPassword: Not@SecurePassw0rd - configPassword: Not@SecurePassw0rd - ltb-passwd: - enabled : false - phpldapadmin: - enabled: true - ingress: - enabled: false diff --git a/internal/pkg/show/config/plugins/sonarqube.yaml b/internal/pkg/show/config/plugins/sonarqube.yaml index 19e536bf5..e76c3e892 100644 --- a/internal/pkg/show/config/plugins/sonarqube.yaml +++ b/internal/pkg/show/config/plugins/sonarqube.yaml @@ -19,6 +19,8 @@ tools: chartName: sonarqube/sonarqube # release name of the chart releaseName: sonarqube + # version of the chart + version: "" # k8s namespace where SonarQube will be installed namespace: sonarqube # whether to wait for the release to be deployed or not diff --git a/internal/pkg/show/config/plugins/tekton.yaml b/internal/pkg/show/config/plugins/tekton.yaml index 0bba90da7..d84fa5701 100644 --- a/internal/pkg/show/config/plugins/tekton.yaml +++ b/internal/pkg/show/config/plugins/tekton.yaml @@ -1,33 +1,35 @@ tools: - # name of the tool - - name: tekton - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. - dependsOn: [ ] - # options for the plugin - options: - repo: - # name of the Helm repo - name: tekton - # url of the Helm repo, use self host helm config beacuse official helm does'nt support namespace config - url: https://steinliber.github.io/tekton-helm-chart/ - # Helm chart information - chart: - # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" - chartPath: "" - # name of the chart - chartName: tekton/tekton-pipeline - # k8s namespace where Tekton will be installed - namespace: tekton - # release name of the chart - releaseName: tekton - # whether to wait for the release to be deployed or not - wait: true - # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m0s - timeout: 5m - # whether to perform a CRD upgrade during installation - upgradeCRDs: true - valuesYaml: | - serviceaccount: - enabled: true +# name of the tool +- name: tekton + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. + dependsOn: [ ] + # options for the plugin + options: + repo: + # name of the Helm repo + name: tekton + # url of the Helm repo, use self host helm config beacuse official helm does'nt support namespace config + url: https://steinliber.github.io/tekton-helm-chart/ + # Helm chart information + chart: + # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" + chartPath: "" + # name of the chart + chartName: tekton/tekton-pipeline + # version of the chart + version: "" + # k8s namespace where Tekton will be installed + namespace: tekton + # release name of the chart + releaseName: tekton + # whether to wait for the release to be deployed or not + wait: true + # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m0s + timeout: 5m + # whether to perform a CRD upgrade during installation + upgradeCRDs: true + valuesYaml: | + serviceaccount: + enabled: true diff --git a/internal/pkg/show/config/plugins/trello-github-integ.yaml b/internal/pkg/show/config/plugins/trello-github-integ.yaml index 5b8ea4a5c..3aaae152b 100644 --- a/internal/pkg/show/config/plugins/trello-github-integ.yaml +++ b/internal/pkg/show/config/plugins/trello-github-integ.yaml @@ -1,22 +1,22 @@ tools: - # name of the tool - - name: trello-github-integ - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. - dependsOn: [ "trello.default" ] - # options for the plugin - options: - # the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. - owner: YOUR_GITHUB_USERNAME - # the repo where you'd like to setup GitHub Actions; please change the value below. - # the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. - org: YOUR_ORGANIZATION_NAME - repo: YOUR_REPO_NAME - # reference parameters come from dependency, their usage will be explained later - boardId: ${{ trello.default.outputs.boardId }} - todoListId: ${{ trello.default.outputs.todoListId }} - doingListId: ${{ trello.default.outputs.doingListId }} - doneListId: ${{ trello.default.outputs.doneListId }} - # main branch of the repo (to which branch the plugin will submit the workflows) - branch: main +# name of the tool +- name: trello-github-integ + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. + dependsOn: [ "trello.default" ] + # options for the plugin + options: + # the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. + owner: YOUR_GITHUB_USERNAME + # the repo where you'd like to setup GitHub Actions; please change the value below. + # the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. + org: YOUR_ORGANIZATION_NAME + repo: YOUR_REPO_NAME + # reference parameters come from dependency, their usage will be explained later + boardId: ${{ trello.default.outputs.boardId }} + todoListId: ${{ trello.default.outputs.todoListId }} + doingListId: ${{ trello.default.outputs.doingListId }} + doneListId: ${{ trello.default.outputs.doneListId }} + # main branch of the repo (to which branch the plugin will submit the workflows) + branch: main diff --git a/internal/pkg/show/config/plugins/trello.yaml b/internal/pkg/show/config/plugins/trello.yaml index ad663f5c5..2bad16fd6 100644 --- a/internal/pkg/show/config/plugins/trello.yaml +++ b/internal/pkg/show/config/plugins/trello.yaml @@ -1,17 +1,17 @@ tools: - # name of the tool - - name: trello - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool - dependsOn: [ ] - # options for the plugin - options: - # the repo's owner - owner: YOUR_GITHUB_USERNAME - # the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. - org: YOUR_ORGANIZATION_NAME - # for which repo this board will be used - repo: YOUR_REPO_NAME - # the Tello board name. If empty, use owner/repo as the board's name. - kanbanBoardName: KANBAN_BOARD_NAME +# name of the tool +- name: trello + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool + dependsOn: [ ] + # options for the plugin + options: + # the repo's owner + owner: YOUR_GITHUB_USERNAME + # the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. + org: YOUR_ORGANIZATION_NAME + # for which repo this board will be used + repo: YOUR_REPO_NAME + # the Tello board name. If empty, use owner/repo as the board's name. + kanbanBoardName: KANBAN_BOARD_NAME diff --git a/internal/pkg/show/config/plugins/zentao.yaml b/internal/pkg/show/config/plugins/zentao.yaml index 1af8cc92d..4d3115afb 100644 --- a/internal/pkg/show/config/plugins/zentao.yaml +++ b/internal/pkg/show/config/plugins/zentao.yaml @@ -1,51 +1,51 @@ tools: - # name of the tool - - name: zentao - # id of the tool instance - instanceID: default - # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool - dependsOn: [] - # options for the plugin - options: - # namespace for zentao application - namespace: 'zentao' - # storageClassName used to match pv and pvc - storageClassName: 'zentao-storage' - # two PersistentVolumes for zentao and mysql should be specified - persistentVolume: - # name of zentao pv - zentaoPVName: 'zentao-pv' - # capacity of zentao pv - zentaoPVCapacity: '1G' - # name of mysql pv - mysqlPVName: 'mysql-pv' - # capacity of mysql pv - mysqlPVCapacity: '1G' - # two PersistentVolumeClaims for zentao and mysql should be specified - persistentVolumeClaim: - # name of zentao pvc - zentaoPVCName: 'zentao-pvc' - # capacity of zentao pvc - zentaoPVCCapacity: '1G' - # name of mysql pvc - mysqlPVCName: 'mysql-pv' - # capacity of mysql pvc - mysqlPVCCapacity: '1G' - # zentao application is deployed by K8S Deployment - deployment: - # name of zentao deployment - name: 'zentao-dp' - # number of application replica - replicas: 3 - # zentao image - image: 'easysoft/zentao:latest' - # initial password name for mysql database, you can specify any name you like - mysqlPasswdName: 'MYSQL_ROOT_PASSWORD' - # initial password value for mysql database, you can specify any value you like - mysqlPasswdValue: '1234567' - # zentao application is exposed via K8S Service - service: - # name of zentao service - name: 'zentao-svc' - # nodePort of zentao service, currently zentao plugin only support `nodePort` type - nodePort: 30081 +# name of the tool +- name: zentao + # id of the tool instance + instanceID: default + # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool + dependsOn: [] + # options for the plugin + options: + # namespace for zentao application + namespace: 'zentao' + # storageClassName used to match pv and pvc + storageClassName: 'zentao-storage' + # two PersistentVolumes for zentao and mysql should be specified + persistentVolume: + # name of zentao pv + zentaoPVName: 'zentao-pv' + # capacity of zentao pv + zentaoPVCapacity: '1G' + # name of mysql pv + mysqlPVName: 'mysql-pv' + # capacity of mysql pv + mysqlPVCapacity: '1G' + # two PersistentVolumeClaims for zentao and mysql should be specified + persistentVolumeClaim: + # name of zentao pvc + zentaoPVCName: 'zentao-pvc' + # capacity of zentao pvc + zentaoPVCCapacity: '1G' + # name of mysql pvc + mysqlPVCName: 'mysql-pv' + # capacity of mysql pvc + mysqlPVCCapacity: '1G' + # zentao application is deployed by K8S Deployment + deployment: + # name of zentao deployment + name: 'zentao-dp' + # number of application replica + replicas: 3 + # zentao image + image: 'easysoft/zentao:latest' + # initial password name for mysql database, you can specify any name you like + mysqlPasswdName: 'MYSQL_ROOT_PASSWORD' + # initial password value for mysql database, you can specify any value you like + mysqlPasswdValue: '1234567' + # zentao application is exposed via K8S Service + service: + # name of zentao service + name: 'zentao-svc' + # nodePort of zentao service, currently zentao plugin only support `nodePort` type + nodePort: 30081