skooner-k8s / skooner

Simple Kubernetes real-time dashboard and management.
http://skooner.io/
Apache License 2.0
1.31k stars 178 forks source link

Feature Request: Key-Value Secret Editor #71

Open ryanelian opened 4 years ago

ryanelian commented 4 years ago

image

Openshift Console has a baller key-value secret editor UI.

It'd be nice if this feature can be adapted for k8dash as well.

To preview this feature in your kubernetes cluster: deploy the Openshift Console

apiVersion: apps/v1
kind: Deployment
metadata:
  name: origin-console
  namespace: kube-system
  labels:
    app: origin-console
spec:
  replicas: 1
  selector:
    matchLabels:
      app: origin-console
  template:
    metadata:
      labels:
        app: origin-console
    spec:
      containers:
        - name: origin-console-container
          image: quay.io/openshift/origin-console:4.6.0
          env:
            - name: BRIDGE_USER_AUTH
              value: disabled
            - name: BRIDGE_K8S_MODE
              value: off-cluster
            - name: BRIDGE_K8S_MODE_OFF_CLUSTER_ENDPOINT
              value: https://kubernetes.default
            - name: BRIDGE_K8S_MODE_OFF_CLUSTER_SKIP_VERIFY_TLS
              value: "true"
            - name: BRIDGE_K8S_AUTH
              value: bearer-token
            - name: BRIDGE_K8S_AUTH_BEARER_TOKEN
              valueFrom:
                secretKeyRef:
                  name: admin-sa-token-abc123 # change this to your cluster token secret
                  key: token

---

kind: Service
apiVersion: v1
metadata:
  name: origin-console-svc
  namespace: kube-system
spec:
  selector:
    app: origin-console
  ports:
  - name: http
    port: 80
    targetPort: 9000
herbrandson commented 4 years ago

@ryanelian can you explain a bit more about what you're looking for? What is it you like about their UI?