devops-service-business
by Helm
Helm chartv2.0.13App 2.0.13
DevOps Service is the continuous delivery service of Choerodon.
About this chart
devops-service-business
DevOps Service is the continuous delivery service of Choerodon.
Installing the Chart
To install the chart with the release name devops-service-business:
$ helm repo add c7n https://openchart.choerodon.com.cn/choerodon/c7n
$ helm repo update
$ helm install devops-service-business c7n/devops-service-business
Specify each parameter using the --set key=value[,key=value] argument to helm install.
Uninstalling the Chart
$ helm delete devops-service-business
Requirements
| Repository | Name | Version |
|---|---|---|
| https://openchart.choerodon.com.cn/choerodon/c7n | common | 1.x.x |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | Affinity for pod assignment. Evaluated as a template. Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set |
| args | list | [] | Args for running the devops-service-business container (set to default if not set). Use array form |
| automountServiceAccountToken | bool | false | AutomountServiceAccountToken indicates whether a service account token should be automatically mounted. |
| base.pullPolicy | string | "IfNotPresent" | Specify a imagePullPolicy |
| base.pullSecrets | list | [] | Optionally specify an array of imagePullSecrets. |
| base.registry | string | "registry.cn-shanghai.aliyuncs.com" | Java base image registry |
| base.repository | string | "c7n/javabase" | Java base image repository |
| base.tag | string | "jdk8u282-b08" | Java base image tag |
| command | list | [] | Command for running the devops-service-business container (set to default if not set). Use array form |
| commonAnnotations | object | {} | Add annotations to all the deployed resources |
| commonLabels | object | {} | Add labels to all the deployed resources |
| containerPort.actuatorPort | int | 8061 | DevOps server management port |
| containerPort.serverPort | int | 8060 | DevOps server port |
| customLivenessProbe | object | {} | Custom Liveness |
| customReadinessProbe | object | {} | Custom Readiness |
| customStartupProbe | object | {} | Custom Startup probes |
| enableServiceLinks | bool | false | EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to false. |
| extraEnv.AGENT_CERTMANAGERURL | string | "https://openchart.choerodon.com.cn/choerodon/c7n/" | cert-manager helm chart url |
| extraEnv.AGENT_REPOCONCURRENCYSYNCSIZE | int | 1 | Agent repo concurrency syncsize |
| extraEnv.AGENT_REPOURL | string | "https://openchart.choerodon.com.cn/choerodon/c7n/" | agent helm chart url |
| extraEnv.AGENT_SERVICEURL | string | "ws://devops.example.com/websocket" | devops-service-business websocket url |
| extraEnv.AGENT_VERSION | string | "2.0.0" | choerodon-cluster-agent version |
| extraEnv.C7N_AGENT_BINARY_URL | string | "http://example.com/c7n-agent-2.0.0" | host agent url |
| extraEnv.C7N_AGENT_VERSION | string | "2.0.0" | host agent version |
| extraEnv.CHOERODON_RESOURCE_JWT_IGNORE | string | "/workflow/**, /sonar/**, /ci, /sonar/info, /v2/api-docs, /agent/**, /ws/**, /gitlab/email, /webhook/**, /v2/choerodon/**, /choerodon/**, /actuator/**, /prometheus, /devops/**, /pre_stop" | Ignore the interface path of verification |
| extraEnv.CI_DFAULT_RULE_NUMBER | int | 4 | |
| extraEnv.EUREKA_CLIENT_SERVICEURL_DEFAULTZONE | string | "http://register-server:8000/eureka/" | Eureka client service url |
| extraEnv.FEIGN_CLIENT_CONFIG_DEFAULT_CONNECT_TIMEOUT | int | 2000 | feign client config default connect timeout |
| extraEnv.FEIGN_CLIENT_CONFIG_DEFAULT_READ_TIMEOUT | int | 5000 | feign client config default read timeout |
| extraEnv.JAVA_OPTS | string | "-XX:MaxRAMPercentage=90.0" | |
| extraEnv.LOG_LEVEL | string | "info" | |
| extraEnv.NEXUS_PROXY_URIPREFIX | string | "/rdupm/v1/nexus/proxy" | |
| extraEnv.SERVICES_FRONT_URL | string | "http://app.example.com" | Choerodon front url |
| extraEnv.SERVICES_GATEWAY_URL | string | "http://api.example.com" | Choerodon api url |
| extraEnv.SERVICES_GITLAB_INTERNALSSHURL | string | nil | Gitlab ssh internal url |
| extraEnv.SERVICES_GITLAB_PROJECTLIMIT | int | 0 | Gitlab users can create the number of project |
| extraEnv.SERVICES_GITLAB_SSHURL | string | "[email protected]" | Gitlab ssh url |
| extraEnv.SERVICES_GITLAB_URL | string | "http://git.example.com" | Gitlab http(s) url |
| extraEnv.SERVICES_HELM_PASSWORD | string | nil | Helm chart password |
| extraEnv.SERVICES_HELM_URL | string | "http://helm.example.com" | Helm chart url |
| extraEnv.SERVICES_HELM_USERNAME | string | nil | Helm chart username |
| extraEnv.SPRING_CLOUD_CONFIG_ENABLED | bool | false | whether to enable the configuration center |
| extraEnv.SPRING_CLOUD_CONFIG_URI | string | "http://register-server:8000" | configuration center url |
| extraEnv.SPRING_DATASOURCE_PASSWORD | string | "password" | Datasource password |
| extraEnv.SPRING_DATASOURCE_URL | string | "jdbc:mysql://localhost:3306/devops_service?useUnicode=true&characterEncoding=utf-8&useSSL=false&useInformationSchema=true&remarks=true&serverTimezone=Asia/Shanghai" | Datasource url |
| extraEnv.SPRING_DATASOURCE_USERNAME | string | "choerodon" | Datasource username |
| extraEnv.SPRING_REDIS_DATABASE | int | 9 | Redis database |
| extraEnv.SPRING_REDIS_HOST | string | "localhost" | Redis host |
| extraEnv.SPRING_REDIS_PORT | int | 6379 | Redis port |
| extraEnvVarsCM | string | "" | ConfigMap with extra environment variables |
| extraEnvVarsSecret | string | "" | Secret with extra environment variables |
| extraVolumeMounts | list | [] | Extra volume mounts to add to devops-service-business containers |
| extraVolumes | list | [] | Extra volumes to add to the devops-service-business statefulset |
| fullnameOverride | string | nil | String to fully override common.names.fullname template |
| global.imagePullSecrets | list | [] | Global Docker registry secret names as an array |
| global.imageRegistry | string | nil | Global Docker image registry |
| global.storageClass | string | nil | Global StorageClass for Persistent Volume(s) |
| hostAliases | list | [] | devops-service-business pod host aliases |
| image.pullPolicy | string | "IfNotPresent" | Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' |
| image.pullSecrets | list | [] | Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. |
| image.registry | string | "registry.cn-shanghai.aliyuncs.com" | DevOps service image registry |
| image.repository | string | "c7n/devops-service-business" | DevOps service image repository |
| image.tag | string | nil | DevOps service image tag. Default Chart.AppVersion |
| ingress.annotations | object | {} | Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations. |
| ingress.apiVersion | string | "" | Force Ingress API version (automatically detected if not set) |
| ingress.enabled | bool | false | Enable ingress record generation for Discourse |
| ingress.extraHosts | list | [] | An array with additional hostname(s) to be covered with the ingress record |
| ingress.extraPaths | list | [] | An array with additional arbitrary paths that may need to be added to the ingress under the main host |
| ingress.extraTls | list | [] | TLS configuration for additional hostname(s) to be covered with this ingress record |
| ingress.hostname | string | "server.local" | Default host for the ingress record |
| ingress.ingressClassName | string | "" | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) |
| ingress.path | string | "/" | Default path for the ingress record |
| ingress.pathType | string | "ImplementationSpecific" | Ingress path type |
| ingress.secrets | list | [] | Custom TLS certificates as secrets |
| ingress.selfSigned | bool | false | Create a TLS secret for this ingress record using self-signed certificates generated by Helm |
| ingress.tls | bool | false | Enable TLS configuration for the host defined at ingress.hostname parameter |
| initContainers | object | {} | Add init containers to the devops-service-business pods. |
| initDatabases.affinity | object | {} | Affinity for pod assignment. Evaluated as a template. Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set |
| initDatabases.datasource.driver | string | "com.mysql.jdbc.Driver" | |
| initDatabases.datasource.password | string | "password" | |
| initDatabases.datasource.url | string | "jdbc:mysql://localhost:3306/?useUnicode=true&characterEncoding=utf-8&useSSL=false&useInformationSchema=true&remarks=true&serverTimezone=Asia/Shanghai" | |
| initDatabases.datasource.username | string | "username" | |
| initDatabases.datasources.platform.driver | string | "com.mysql.jdbc.Driver" | |
| initDatabases.datasources.platform.password | string | "password" | |
| initDatabases.datasources.platform.url | string | "jdbc:mysql://localhost:3306/?useUnicode=true&characterEncoding=utf-8&useSSL=false&useInformationSchema=true&remarks=true&serverTimezone=Asia/Shanghai" | |
| initDatabases.datasources.platform.username | string | "username" | |
| initDatabases.enabled | bool | true | |
| initDatabases.exclusion | string | "" | Excluding update certain tables or fields: table1,table2.column1 |
| initDatabases.nodeSelector | object | {} | Node labels for pod assignment. Evaluated as a template. |
| initDatabases.pullPolicy | string | "IfNotPresent" | Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' |
| initDatabases.pullSecrets | list | [] | Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. |
| initDatabases.registry | string | "registry.cn-shanghai.aliyuncs.com" | DB tool image registry |
| initDatabases.repository | string | "c7n/dbtool" | DB tool image repository |
| initDatabases.tag | string | "0.7.5" | DB tool image tag. Default Chart.AppVersion |
| initDatabases.timeout | int | 1800 | |
| initDatabases.tolerations | list | [] | Tolerations for pod assignment. Evaluated as a template. |
| kubeVersion | string | nil | Force target Kubernetes version (using Helm capabilites if not set) |
| livenessProbe.enabled | bool | true | Enable livenessProbe |
| livenessProbe.failureThreshold | int | 5 | Failure threshold for livenessProbe |
| livenessProbe.initialDelaySeconds | int | 480 | Initial delay seconds for livenessProbe |
| livenessProbe.periodSeconds | int | 5 | Period seconds for livenessProbe |
| livenessProbe.successThreshold | int | 1 | Success threshold for livenessProbe |
| livenessProbe.timeoutSeconds | int | 3 | Timeout seconds for livenessProbe |
| nameOverride | string | nil | String to partially override common.names.fullname template (will maintain the release name) |
| nodeAffinityPreset.key | string | "" | Node label key to match |
| nodeAffinityPreset.type | string | "" | Node affinity type. Allowed values: soft, hard |
| nodeAffinityPreset.values | list | [] | Node label values to match |
| nodeSelector | object | {} | Node labels for pod assignment. Evaluated as a template. |
| persistence.accessModes | list | ["ReadWriteOnce"] | Persistent Volume Access Mode |
| persistence.annotations | object | {} | Persistent Volume Claim annotations |
| persistence.enabled | bool | false | If true, use a Persistent Volume Claim, If false, use emptyDir |
| persistence.existingClaim | string | nil | Enable persistence using an existing PVC |
| persistence.mountPath | string | "/data" | Data volume mount path |
| persistence.size | string | "8Gi" | Persistent Volume size |
| persistence.storageClass | string | nil | Persistent Volume Storage Class |
| podAffinityPreset | string | "" | Pod affinity preset. Allowed values: soft, hard |
| podAnnotations | object | {} | Pod annotations |
| podAntiAffinityPreset | string | "soft" | Pod anti-affinity preset. Allowed values: soft, hard |
| podLabels | object | {} | Pod labels |
| readinessProbe.enabled | bool | true | Enable readinessProbe |
| readinessProbe.failureThreshold | int | 5 | Failure threshold for readinessProbe |
| readinessProbe.initialDelaySeconds | int | 30 | Initial delay seconds for readinessProbe |
| readinessProbe.periodSeconds | int | 5 | Period seconds for readinessProbe |
| readinessProbe.successThreshold | int | 1 | Success threshold for readinessProbe |
| readinessProbe.timeoutSeconds | int | 3 | Timeout seconds for readinessProbe |
| replicaCount | int | 1 | Number of deployment replicas |
| resources.limits | object | {"memory":"3Gi"} | The resources limits for the init container |
| resources.requests | object | {"memory":"3Gi"} | The requested resources for the init container |
| schedulerName | string | nil | Scheduler name |
| securityContext | object | {"enabled":true,"fsGroup":33,"runAsUser":33} | Security Context |
| service.annotations | object | {} | Provide any additional annotations which may be required. This can be used to set the LoadBalancer service type to internal only. |
| service.enabled | bool | true | Set to true to enable service record generation |
| service.externalTrafficPolicy | string | "Cluster" | Enable client source IP preservation |
| service.loadBalancerIP | string | nil | loadBalancerIP for the devops-service-business Service (optional, cloud specific) |
| service.loadBalancerSourceRanges | list | [] | Load Balancer sources |
| service.nodePort | object | `{"actuator":301 |
Deploy devops-service-business with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has devops-service-business on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartdevops-service-business is pinned at v2.0.13 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply