|
| 1 | +## Number of replicas |
| 2 | +replicaCount: 1 |
| 3 | + |
| 4 | +annotations: {} |
| 5 | +## Here labels can be added to the kubernetes dashboard deployment |
| 6 | + |
| 7 | +securityContext: |
| 8 | + runAsNonRoot: true |
| 9 | + seccompProfile: |
| 10 | + type: RuntimeDefault |
| 11 | + |
| 12 | +## SecurityContext defaults for the kubernetes dashboard container and metrics scraper container |
| 13 | +## To disable set the following configuration to null: |
| 14 | +# containerSecurityContext: null |
| 15 | +containerSecurityContext: |
| 16 | + allowPrivilegeEscalation: false |
| 17 | + readOnlyRootFilesystem: true |
| 18 | + runAsUser: 1001 |
| 19 | + runAsGroup: 2001 |
| 20 | + capabilities: |
| 21 | + drop: ["ALL"] |
| 22 | + |
| 23 | +## @param podLabels Extra labels for OAuth2 Proxy pods |
| 24 | +## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
| 25 | +## |
| 26 | +podLabels: {} |
| 27 | +## @param podAnnotations Annotations for OAuth2 Proxy pods |
| 28 | +## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ |
| 29 | +## |
| 30 | +podAnnotations: |
| 31 | + co.elastic.logs/enabled: "true" |
| 32 | + |
| 33 | +## Node labels for pod assignment |
| 34 | +## Ref: https://kubernetes.io/docs/user-guide/node-selection/ |
| 35 | +## |
| 36 | +nodeSelector: |
| 37 | + kubernetes.io/os: linux |
| 38 | + |
| 39 | +## List of node taints to tolerate (requires Kubernetes >= 1.6) |
| 40 | +tolerations: [] |
| 41 | + |
| 42 | +## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity |
| 43 | +affinity: |
| 44 | + nodeAffinity: |
| 45 | + requiredDuringSchedulingIgnoredDuringExecution: |
| 46 | + nodeSelectorTerms: |
| 47 | + - matchExpressions: |
| 48 | + - key: "Addons-Services" |
| 49 | + operator: In |
| 50 | + values: |
| 51 | + - "true" |
| 52 | + |
| 53 | +## Name of Priority Class of pods |
| 54 | +# priorityClassName: "" |
| 55 | + |
| 56 | +## Pod resource requests & limits |
| 57 | +resources: |
| 58 | + requests: |
| 59 | + cpu: 100m |
| 60 | + memory: 200Mi |
| 61 | + limits: |
| 62 | + cpu: 2 |
| 63 | + memory: 200Mi |
| 64 | + |
| 65 | +## Serve application over HTTP without TLS |
| 66 | +## |
| 67 | +## Note: If set to true, you may want to add --enable-insecure-login to extraArgs |
| 68 | +protocolHttp: false |
| 69 | + |
| 70 | +service: |
| 71 | + type: ClusterIP |
| 72 | + # Dashboard service port |
| 73 | + externalPort: 443 |
| 74 | + annotations: {} |
| 75 | + |
| 76 | + ## Here labels can be added to the Kubernetes Dashboard service |
| 77 | + labels: {} |
| 78 | + |
| 79 | + ## Enable or disable the kubernetes.io/cluster-service label. Should be disabled for GKE clusters >=1.15. |
| 80 | + ## Otherwise, the addon manager will presume ownership of the service and try to delete it. |
| 81 | + clusterServiceLabel: |
| 82 | + enabled: true |
| 83 | + key: "kubernetes.io/cluster-service" |
| 84 | + |
| 85 | +ingress: |
| 86 | + enabled: true |
| 87 | + annotations: {} |
| 88 | + ingressClassName: ${ingress_class_name} |
| 89 | + hostname: ${hostname} |
| 90 | + |
| 91 | + paths: |
| 92 | + - / |
| 93 | + # - /* |
| 94 | + |
| 95 | + ## Custom Kubernetes Dashboard Ingress paths. Will override default paths. |
| 96 | + ## |
| 97 | + customPaths: [] |
| 98 | + |
| 99 | +settings: |
| 100 | + {} |
| 101 | + |
| 102 | +## Pinned CRDs that will be displayed in dashboard's menu |
| 103 | +metricsScraper: |
| 104 | + ## Wether to enable dashboard-metrics-scraper |
| 105 | + enabled: false |
| 106 | + image: |
| 107 | + repository: kubernetesui/metrics-scraper |
| 108 | + tag: v1.0.9 |
| 109 | + resources: {} |
| 110 | + |
| 111 | +metrics-server: |
| 112 | + enabled: false |
| 113 | + ## Example for additional args |
| 114 | + # args: |
| 115 | + # - --kubelet-preferred-address-types=InternalIP |
| 116 | + # - --kubelet-insecure-tls |
| 117 | + |
| 118 | +rbac: |
| 119 | + # Specifies whether namespaced RBAC resources (Role, Rolebinding) should be created |
| 120 | + create: true |
| 121 | + |
| 122 | + # Specifies whether cluster-wide RBAC resources (ClusterRole, ClusterRolebinding) to access metrics should be created |
| 123 | + # Independent from rbac.create parameter. |
| 124 | + clusterRoleMetrics: true |
| 125 | + clusterReadOnlyRole: false |
| 126 | + |
| 127 | + |
| 128 | +serviceAccount: |
| 129 | + # Specifies whether a service account should be created |
| 130 | + create: true |
| 131 | + # The name of the service account to use. |
| 132 | + # If not set and create is true, a name is generated using the fullname template |
| 133 | + name: |
| 134 | + |
| 135 | +livenessProbe: |
| 136 | + # Number of seconds to wait before sending first probe |
| 137 | + initialDelaySeconds: 30 |
| 138 | + # Number of seconds to wait for probe response |
| 139 | + timeoutSeconds: 30 |
| 140 | + |
| 141 | +## podDisruptionBudget |
| 142 | +## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/ |
| 143 | +podDisruptionBudget: |
| 144 | + enabled: false |
| 145 | + ## Minimum available instances; ignored if there is no PodDisruptionBudget |
| 146 | + minAvailable: |
| 147 | + ## Maximum unavailable instances; ignored if there is no PodDisruptionBudget |
| 148 | + maxUnavailable: |
| 149 | + |
| 150 | + |
| 151 | +networkPolicy: |
| 152 | + # Whether to create a network policy that allows/restricts access to the service |
| 153 | + enabled: false |
| 154 | + |
| 155 | + # Whether to set network policy to deny all ingress traffic for the kubernetes-dashboard |
| 156 | + ingressDenyAll: false |
| 157 | + |
| 158 | +podSecurityPolicy: |
| 159 | + # Specifies whether a pod security policy should be created |
| 160 | + enabled: false |
| 161 | + |
| 162 | +serviceMonitor: |
| 163 | + # Whether or not to create a Prometheus Operator service monitor. |
| 164 | + enabled: ${enable_service_monitor} |
| 165 | + ## Here labels can be added to the serviceMonitor |
| 166 | + labels: {} |
| 167 | + ## Here annotations can be added to the serviceMonitor |
| 168 | + annotations: {} |
| 169 | + |
0 commit comments