# consul

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.16.3](https://img.shields.io/badge/AppVersion-1.16.3-informational?style=flat-square)

## Requirements

| Repository | Name | Version |
|------------|------|---------|
| file://../hopsworkslib | hopsworkslib | 0.1.0 |
| https://helm.releases.hashicorp.com | consul | 1.3.1 |

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| autoConfigureCoreDNS | bool | `true` |  |
| autoConfigureCoreDNSPort | int | `53` |  |
| autoConfigureJobResources | object | `{"limits":{"cpu":"300m"}}` | resources configuration |
| autoConfigureJobResources.limits | object | `{"cpu":"300m"}` | resource limits configuration |
| autoconfig.serviceAccount.annotations | object | `{}` | service account annotations |
| consul | object | `{"client":{"dnsPolicy":"ClusterFirstWithHostNet","hostNetwork":true},"connectInject":{"enabled":false},"dns":{"enabled":true},"global":{"acls":{"manageSystemACLs":true,"nodeSelector":null,"tolerations":""},"datacenter":"dc1","domain":"consul","enabled":true,"gossipEncryption":{"autoGenerate":true},"image":"docker.hops.works/hashicorp/consul:1.16.3","imageK8S":"docker.hops.works/hashicorp/consul-k8s-control-plane:1.3.1","logLevel":"info","metrics":{"enableAgentMetrics":true,"enableGatewayMetrics":false,"enabled":true},"name":null,"tls":{"enabled":true}},"metrics":{"enabled":true,"rbac":{"annotations":{},"create":true,"extraRoleRules":[],"name":"consul-metrics-role","useExistingRole":false},"serviceAccount":{"annotations":{},"create":true,"name":"consul-metrics-default"}},"server":{"connect":false,"enabled":true,"extraConfig":"{\n  \"telemetry\": {\n    \"disable_hostname\": true\n  }\n}\n","logLevel":"info","nodeSelector":null,"replicas":3,"resources":{"limits":{"cpu":"100m","memory":"350Mi"},"requests":{"cpu":"100m","memory":"200Mi"}},"storageClass":null,"tolerations":"","topologySpreadConstraints":"- maxSkew: 1\n  topologyKey: topology.kubernetes.io/zone\n  whenUnsatisfiable: ScheduleAnyway\n  labelSelector:\n    matchLabels:\n      app: consul\n      component: server\n"},"syncCatalog":{"default":true,"enabled":true,"k8sAllowNamespaces":["*"],"nodeSelector":null,"resources":{"limits":{"cpu":"50m","memory":"100Mi"},"requests":{"cpu":"50m","memory":"100Mi"}},"toConsul":true,"toK8S":false,"tolerations":""},"ui":{"enabled":true}}` | override consul values |
| corednsConfigMapName | string | `"coredns"` | the name of the coredns configmap. This name is only used when global._hopsworks.cloudProvider does not equal to AZURE, OVH, or GCP. For AZURE and OVH, coredns-custom is being used by default and for GCP, kube-dns is being used by default. |
| corednsDeploymentName | string | `"coredns"` | the name of the coredns deployment. This name is only used when global._hopsworks.cloudProvider does not equal to AZURE, OVH, or GCP. |
| fullnameOverride | string | `nil` | override app fully qualified name  |
| hopsworkslib | object | `{}` | override hopsworkslib values |
| manualServiceRegistration.resources.limits.cpu | string | `"100m"` |  |
| manualServiceRegistration.resources.limits.memory | string | `"100Mi"` |  |
| manualServiceRegistration.resources.requests.cpu | string | `"50m"` |  |
| manualServiceRegistration.resources.requests.memory | string | `"30Mi"` |  |
| nameOverride | string | `nil` | override app chart name |
| networkPolicy.enabled | bool | `false` |  |
| nodeSelector | object | `{}` | node selector configuration used for the autoconfig job and register managed docker registry jobs |
| tolerations | list | `[]` |  |