--- # Source: apisix-dashboard/templates/serviceaccount.yaml # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # apiVersion: v1 kind: ServiceAccount metadata: name: my-apisix-dashboard namespace: ingress-apisix labels: helm.sh/chart: apisix-dashboard-0.6.1 app.kubernetes.io/name: apisix-dashboard app.kubernetes.io/instance: my app.kubernetes.io/version: "2.13.0" app.kubernetes.io/managed-by: Helm --- # Source: apisix-dashboard/templates/configmap.yaml # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # apiVersion: v1 kind: ConfigMap metadata: name: my-apisix-dashboard namespace: ingress-apisix labels: helm.sh/chart: apisix-dashboard-0.6.1 app.kubernetes.io/name: apisix-dashboard app.kubernetes.io/instance: my app.kubernetes.io/version: "2.13.0" app.kubernetes.io/managed-by: Helm data: conf.yaml: |- conf: listen: host: 0.0.0.0 port: 9000 etcd: prefix: "/apisix" endpoints: - http://my-etcd-0.my-etcd-headless.ingress-apisix.svc.cluster.local:2379 - http://my-etcd-1.my-etcd-headless.ingress-apisix.svc.cluster.local:2379 - http://my-etcd-2.my-etcd-headless.ingress-apisix.svc.cluster.local:2379 log: error_log: level: warn file_path: /dev/stderr access_log: file_path: /dev/stdout authentication: secret: secret expire_time: 3600 users: - username: admin password: admin --- # Source: apisix-dashboard/templates/service.yaml # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # apiVersion: v1 kind: Service metadata: name: my-apisix-dashboard namespace: ingress-apisix labels: helm.sh/chart: apisix-dashboard-0.6.1 app.kubernetes.io/name: apisix-dashboard app.kubernetes.io/instance: my app.kubernetes.io/version: "2.13.0" app.kubernetes.io/managed-by: Helm spec: type: NodePort ports: - port: 80 targetPort: http protocol: TCP name: http selector: app.kubernetes.io/name: apisix-dashboard app.kubernetes.io/instance: my --- # Source: apisix-dashboard/templates/deployment.yaml # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # apiVersion: apps/v1 kind: Deployment metadata: name: my-apisix-dashboard namespace: ingress-apisix labels: helm.sh/chart: apisix-dashboard-0.6.1 app.kubernetes.io/name: apisix-dashboard app.kubernetes.io/instance: my app.kubernetes.io/version: "2.13.0" app.kubernetes.io/managed-by: Helm spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: apisix-dashboard app.kubernetes.io/instance: my template: metadata: annotations: checksum/config: 8b51260f5cfc524b27ddb2d919abae37bb5d08a3e500f0d5acf87d93724934b6 labels: app.kubernetes.io/name: apisix-dashboard app.kubernetes.io/instance: my spec: initContainers: - name: wait-etcd image: busybox:1.28 command: ['sh', '-c', "until nc -z my-etcd.ingress-apisix.svc.cluster.local 2379; do echo waiting for etcd `date`; sleep 2; done;"] serviceAccountName: my-apisix-dashboard securityContext: {} containers: - name: apisix-dashboard securityContext: {} image: "apache/apisix-dashboard:2.13-alpine" imagePullPolicy: IfNotPresent ports: - name: http containerPort: 9000 protocol: TCP livenessProbe: httpGet: path: /ping port: http readinessProbe: httpGet: path: /ping port: http resources: {} volumeMounts: - mountPath: /usr/local/apisix-dashboard/conf/conf.yaml name: apisix-dashboard-config subPath: conf.yaml volumes: - configMap: name: my-apisix-dashboard name: apisix-dashboard-config --- # Source: apisix-dashboard/templates/hpa.yaml # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # --- # Source: apisix-dashboard/templates/ingress.yaml # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #