|
| 1 | +# safe-settings |
| 2 | + |
| 3 | +A Helm chart for Kubernetes |
| 4 | + |
| 5 | +## Values |
| 6 | + |
| 7 | +| Key | Type | Default | Description | |
| 8 | +|-----|------|---------|-------------| |
| 9 | +| affinity | object | `{}` | | |
| 10 | +| autoscaling.enabled | bool | `false` | | |
| 11 | +| autoscaling.maxReplicas | int | `10` | | |
| 12 | +| autoscaling.minReplicas | int | `2` | | |
| 13 | +| autoscaling.targetCPUUtilizationPercentage | int | `80` | | |
| 14 | +| deploymentConfig.configvalidators[0].error | string | `"`Admin cannot be assigned to collaborators`\n"` | | |
| 15 | +| deploymentConfig.configvalidators[0].plugin | string | `"collaborators"` | | |
| 16 | +| deploymentConfig.configvalidators[0].script | string | `"console.log(`baseConfig ${JSON.stringify(baseconfig)}`)\nreturn baseconfig.permission != 'admin'\n"` | | |
| 17 | +| deploymentConfig.overridevalidators[0].error | string | `"`Branch protection required_approving_review_count cannot be overidden to a lower value`\n"` | | |
| 18 | +| deploymentConfig.overridevalidators[0].plugin | string | `"branches"` | | |
| 19 | +| deploymentConfig.overridevalidators[0].script | string | `"console.log(`baseConfig ${JSON.stringify(baseconfig)}`)\nconsole.log(`overrideConfig ${JSON.stringify(overrideconfig)}`)\nif (baseconfig.protection.required_pull_request_reviews.required_approving_review_count && overrideconfig.protection.required_pull_request_reviews.required_approving_review_count ) {\n return overrideconfig.protection.required_pull_request_reviews.required_approving_review_count >= baseconfig.protection.required_pull_request_reviews.required_approving_review_count\n}\nreturn true\n"` | | |
| 20 | +| deploymentConfig.overridevalidators[1].error | string | `"Some error\n"` | | |
| 21 | +| deploymentConfig.overridevalidators[1].plugin | string | `"labels"` | | |
| 22 | +| deploymentConfig.overridevalidators[1].script | string | `"return true\n"` | | |
| 23 | +| deploymentConfig.restrictedRepos.exclude[0] | string | `"^admin$"` | | |
| 24 | +| deploymentConfig.restrictedRepos.exclude[1] | string | `"^\\.github$"` | | |
| 25 | +| deploymentConfig.restrictedRepos.exclude[2] | string | `"^safe-settings$"` | | |
| 26 | +| deploymentConfig.restrictedRepos.exclude[3] | string | `".*-test"` | | |
| 27 | +| deploymentConfig.restrictedRepos.include[0] | string | `"^test$"` | | |
| 28 | +| env | list | `[]` | | |
| 29 | +| envFrom | list | `[]` | | |
| 30 | +| extraObjects | list | `[]` | Add dynamic manifests via values. Example: extraObjects: - kind: ConfigMap apiVersion: v1 metadata: name: extra-cm-{{ .Release.Name }} data: | extra.yml: "does-my-install-need-extra-info: true" | |
| 31 | +| fullnameOverride | string | `""` | | |
| 32 | +| image.pullPolicy | string | `"IfNotPresent"` | | |
| 33 | +| image.repository | string | `"ghcr.io/github/safe-settings"` | | |
| 34 | +| image.tag | string | `""` | | |
| 35 | +| imagePullSecrets | list | `[]` | | |
| 36 | +| ingress.annotations | object | `{}` | | |
| 37 | +| ingress.className | string | `""` | | |
| 38 | +| ingress.enabled | bool | `false` | | |
| 39 | +| ingress.hosts[0].host | string | `"chart-example.local"` | | |
| 40 | +| ingress.hosts[0].paths[0].path | string | `"/"` | | |
| 41 | +| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | |
| 42 | +| ingress.tls | list | `[]` | | |
| 43 | +| nameOverride | string | `""` | | |
| 44 | +| nodeSelector | object | `{}` | | |
| 45 | +| podAnnotations | object | `{}` | | |
| 46 | +| podSecurityContext | object | `{}` | | |
| 47 | +| replicaCount | int | `2` | | |
| 48 | +| resources | object | `{}` | | |
| 49 | +| securityContext.allowPrivilegeEscalation | bool | `false` | | |
| 50 | +| securityContext.capabilities.drop[0] | string | `"ALL"` | | |
| 51 | +| securityContext.privileged | bool | `false` | | |
| 52 | +| securityContext.readOnlyRootFilesystem | bool | `true` | | |
| 53 | +| securityContext.runAsNonRoot | bool | `true` | | |
| 54 | +| securityContext.runAsUser | int | `1000` | | |
| 55 | +| service.port | int | `80` | | |
| 56 | +| service.type | string | `"ClusterIP"` | | |
| 57 | +| serviceAccount.annotations | object | `{}` | | |
| 58 | +| serviceAccount.automountServiceAccountToken | bool | `false` | | |
| 59 | +| serviceAccount.create | bool | `true` | | |
| 60 | +| serviceAccount.name | string | `""` | | |
| 61 | +| tolerations | list | `[]` | | |
| 62 | +| volumeMounts | list | `[]` | | |
| 63 | +| volumes | list | `[]` | | |
| 64 | + |
0 commit comments