|
| 1 | +# -- Override the name of the chart |
| 2 | +nameOverride: "" |
| 3 | +# -- Provide a fully-qualified name override for resources |
| 4 | +fullnameOverride: "toolhive-operator" |
| 5 | + |
| 6 | +# -- All values for the operator deployment and associated resources |
| 7 | +operator: |
| 8 | + |
| 9 | + # -- Number of replicas for the operator deployment |
| 10 | + replicaCount: 1 |
| 11 | + |
| 12 | + # -- List of image pull secrets to use |
| 13 | + imagePullSecrets: [] |
| 14 | + # -- Container image for the operator |
| 15 | + image: ghcr.io/stacklok/toolhive/operator:v0.2.0 |
| 16 | + # -- Image pull policy for the operator container |
| 17 | + imagePullPolicy: IfNotPresent |
| 18 | + |
| 19 | + # -- Image to use for Toolhive runners |
| 20 | + toolhiveRunnerImage: ghcr.io/stacklok/toolhive/proxyrunner:v0.2.0 |
| 21 | + |
| 22 | + # -- Host for the proxy deployed by the operator |
| 23 | + proxyHost: 0.0.0.0 |
| 24 | + |
| 25 | + # -- Environment variables to set in the operator container |
| 26 | + env: {} |
| 27 | + |
| 28 | + # -- List of ports to expose from the operator container |
| 29 | + ports: |
| 30 | + - containerPort: 8080 |
| 31 | + name: metrics |
| 32 | + protocol: TCP |
| 33 | + - containerPort: 8081 |
| 34 | + name: health |
| 35 | + protocol: TCP |
| 36 | + |
| 37 | + # -- Annotations to add to the operator pod |
| 38 | + podAnnotations: {} |
| 39 | + # -- Labels to add to the operator pod |
| 40 | + podLabels: {} |
| 41 | + |
| 42 | + # -- Pod security context settings |
| 43 | + podSecurityContext: |
| 44 | + runAsNonRoot: true |
| 45 | + seccompProfile: |
| 46 | + type: RuntimeDefault |
| 47 | + |
| 48 | + # -- Container security context settings for the operator |
| 49 | + containerSecurityContext: |
| 50 | + allowPrivilegeEscalation: false |
| 51 | + readOnlyRootFilesystem: true |
| 52 | + runAsNonRoot: true |
| 53 | + capabilities: |
| 54 | + drop: |
| 55 | + - ALL |
| 56 | + |
| 57 | + # -- Liveness probe configuration for the operator |
| 58 | + livenessProbe: |
| 59 | + httpGet: |
| 60 | + path: /healthz |
| 61 | + port: health |
| 62 | + initialDelaySeconds: 15 |
| 63 | + periodSeconds: 20 |
| 64 | + # -- Readiness probe configuration for the operator |
| 65 | + readinessProbe: |
| 66 | + httpGet: |
| 67 | + path: /readyz |
| 68 | + port: health |
| 69 | + initialDelaySeconds: 5 |
| 70 | + periodSeconds: 10 |
| 71 | + |
| 72 | + # -- Configuration for horizontal pod autoscaling |
| 73 | + autoscaling: |
| 74 | + # -- Enable autoscaling for the operator |
| 75 | + enabled: false |
| 76 | + # -- Minimum number of replicas |
| 77 | + minReplicas: 1 |
| 78 | + # -- Maximum number of replicas |
| 79 | + maxReplicas: 100 |
| 80 | + # -- Target CPU utilization percentage for autoscaling |
| 81 | + targetCPUUtilizationPercentage: 80 |
| 82 | + # -- Target memory utilization percentage for autoscaling (uncomment to enable) |
| 83 | + # targetMemoryUtilizationPercentage: 80 |
| 84 | + |
| 85 | + # -- Resource requests and limits for the operator container |
| 86 | + resources: |
| 87 | + limits: |
| 88 | + cpu: 500m |
| 89 | + memory: 384Mi |
| 90 | + requests: |
| 91 | + cpu: 10m |
| 92 | + memory: 192Mi |
| 93 | + |
| 94 | + # -- RBAC configuration for the operator |
| 95 | + rbac: |
| 96 | + # -- Scope of the RBAC configuration. |
| 97 | + # - cluster: The operator will have cluster-wide permissions via ClusterRole and ClusterRoleBinding. |
| 98 | + # - namespace: The operator will have permissions to manage resources in the namespaces specified in `allowedNamespaces`. |
| 99 | + # The operator will have a ClusterRole and RoleBinding for each namespace in `allowedNamespaces`. |
| 100 | + scope: cluster |
| 101 | + # -- List of namespaces that the operator is allowed to have permissions to manage. |
| 102 | + # Only used if scope is set to "namespace". |
| 103 | + allowedNamespaces: [] |
| 104 | + |
| 105 | + # -- Service account configuration for the operator |
| 106 | + serviceAccount: |
| 107 | + # -- Specifies whether a service account should be created |
| 108 | + create: true |
| 109 | + # -- Automatically mount a ServiceAccount's API credentials |
| 110 | + automountServiceAccountToken: true |
| 111 | + # -- Annotations to add to the service account |
| 112 | + annotations: {} |
| 113 | + # -- Labels to add to the service account |
| 114 | + labels: {} |
| 115 | + # -- The name of the service account to use. If not set and create is true, a name is generated. |
| 116 | + name: "toolhive-operator" |
| 117 | + |
| 118 | + # -- Leader election role configuration |
| 119 | + leaderElectionRole: |
| 120 | + # -- Name of the role for leader election |
| 121 | + name: toolhive-operator-leader-election-role |
| 122 | + binding: |
| 123 | + # -- Name of the role binding for leader election |
| 124 | + name: toolhive-operator-leader-election-rolebinding |
| 125 | + # -- Rules for the leader election role |
| 126 | + rules: |
| 127 | + - apiGroups: |
| 128 | + - "" |
| 129 | + resources: |
| 130 | + - configmaps |
| 131 | + verbs: |
| 132 | + - get |
| 133 | + - list |
| 134 | + - watch |
| 135 | + - create |
| 136 | + - update |
| 137 | + - patch |
| 138 | + - delete |
| 139 | + - apiGroups: |
| 140 | + - coordination.k8s.io |
| 141 | + resources: |
| 142 | + - leases |
| 143 | + verbs: |
| 144 | + - get |
| 145 | + - list |
| 146 | + - watch |
| 147 | + - create |
| 148 | + - update |
| 149 | + - patch |
| 150 | + - delete |
| 151 | + - apiGroups: |
| 152 | + - "" |
| 153 | + resources: |
| 154 | + - events |
| 155 | + verbs: |
| 156 | + - create |
| 157 | + - patch |
| 158 | + |
| 159 | + # -- Additional volumes to mount on the operator pod |
| 160 | + volumes: [] |
| 161 | + # - name: foo |
| 162 | + # secret: |
| 163 | + # secretName: mysecret |
| 164 | + # optional: false |
| 165 | + |
| 166 | + # -- Additional volume mounts on the operator container |
| 167 | + volumeMounts: [] |
| 168 | + # - name: foo |
| 169 | + # mountPath: "/etc/foo" |
| 170 | + # readOnly: true |
| 171 | + |
| 172 | + # -- Node selector for the operator pod |
| 173 | + nodeSelector: {} |
| 174 | + |
| 175 | + # -- Tolerations for the operator pod |
| 176 | + tolerations: [] |
| 177 | + |
| 178 | + # -- Affinity settings for the operator pod |
| 179 | + affinity: {} |
0 commit comments