---
# Source: helm-dashboard/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: helm-dashboard
  labels:
    helm.sh/chart: helm-dashboard-0.1.10
    app.kubernetes.io/name: helm-dashboard
    app.kubernetes.io/instance: helm-dashboard
    app.kubernetes.io/version: "1.3.3"
    app.kubernetes.io/managed-by: Helm
---
# Source: helm-dashboard/templates/pvc.yaml
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: helm-dashboard
  namespace: "default"
  labels:
    helm.sh/chart: helm-dashboard-0.1.10
    app.kubernetes.io/name: helm-dashboard
    app.kubernetes.io/instance: helm-dashboard
    app.kubernetes.io/version: "1.3.3"
    app.kubernetes.io/managed-by: Helm
spec:
  storageClassName: "nfs3"
  accessModes:
    - "ReadWriteOnce"
  resources:
    requests:
      storage: "1000M"
---
# Source: helm-dashboard/templates/serviceaccount.yaml
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: helm-dashboard
rules:
  - apiGroups: ["*"]
    resources: ["*"]
    verbs: ["get", "list", "watch", "create", "delete", "patch", "update"]
---
# Source: helm-dashboard/templates/serviceaccount.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: helm-dashboard
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: helm-dashboard
subjects:
  - kind: ServiceAccount
    namespace: default
    name: helm-dashboard
---
# Source: helm-dashboard/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
  name: helm-dashboard
  labels:
    helm.sh/chart: helm-dashboard-0.1.10
    app.kubernetes.io/name: helm-dashboard
    app.kubernetes.io/instance: helm-dashboard
    app.kubernetes.io/version: "1.3.3"
    app.kubernetes.io/managed-by: Helm
spec:
  type: NodePort
  ports:
    - port: 8080
      targetPort: http
      protocol: TCP
      name: http
  selector:
    app.kubernetes.io/name: helm-dashboard
    app.kubernetes.io/instance: helm-dashboard
---
# Source: helm-dashboard/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: helm-dashboard
  labels:
    helm.sh/chart: helm-dashboard-0.1.10
    app.kubernetes.io/name: helm-dashboard
    app.kubernetes.io/instance: helm-dashboard
    app.kubernetes.io/version: "1.3.3"
    app.kubernetes.io/managed-by: Helm
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/name: helm-dashboard
      app.kubernetes.io/instance: helm-dashboard
  strategy:
    type: RollingUpdate
  template:
    metadata:
      labels:
        app.kubernetes.io/name: helm-dashboard
        app.kubernetes.io/instance: helm-dashboard
    spec:
      serviceAccountName: helm-dashboard
      securityContext:
        {}
      containers:
        - name: helm-dashboard
          command:
            - /bin/helm-dashboard
          args:
            - --no-browser
            - --bind=0.0.0.0
          securityContext:
            {}
          image: "komodorio/helm-dashboard:1.3.3"
          imagePullPolicy: IfNotPresent
          env:
            - name: HELM_CACHE_HOME
              value: /opt/dashboard/helm/cache
            - name: HELM_CONFIG_HOME
              value: /opt/dashboard/helm/config
            - name: HELM_DATA_HOME
              value: /opt/dashboard/helm/data
            - name: DEBUG
              value:
          ports:
            - name: http
              containerPort: 8080
              protocol: TCP
          livenessProbe:
            httpGet:
              path: /status
              port: http
          readinessProbe:
            httpGet:
              path: /status
              port: http
          resources:
            limits:
              cpu: 1
              memory: 1Gi
            requests:
              cpu: 200m
              memory: 256Mi
          volumeMounts:
            - name: data
              mountPath: /opt/dashboard/helm
      volumes:
        - name: data
          persistentVolumeClaim:
            claimName: helm-dashboard