Giter Club home page Giter Club logo

sealed-secrets-web's Issues

web ui editor json vs yaml

First of all, thanks for implementing and maintaining this project.


My Issue: Just deployed the current version (2.2.2) for evalutation. Just wondering why the ui shows the secrets / sealed secret as json (expected yaml).

grafik

Is this a bug or is there a flag to switch between yaml and json?

Error while trying to seal a secret if --disable-load-secrets activated

Hi,
first of all thank you for this project :)

With release 2.1.4 and 2.1.5 if I hide the "secrets" menu item with the arg "--disable-load-secrets" I get an error if I try to seal the secret you provide as an example (or any other secret).
If I remove the arg "--disable-load-secrets", everything works fine.

screenshot 2020-01-31 aฬ€ 08 36 56

Thank you

new secret syntax format

Hi,
Does the starting secret have to be in json format?
When I make a secret in yaml like this, I can't encode it : invalid character 'a' looking for beginning of value

apiVersion: v1
kind: Secret
metadata:
  name: mysecret
type: Opaque
data:
  username: admin
  password: toto

regards

[bug] failed to get sandbox container task: no running task found

I'm not able to install the current helm chart. I receive the following event messages:

Warning  Failed          13m                    kubelet, svm-ap-dizk8s3q  Error: failed to get sandbox container task: no running task found: task e6c3e6beb7a320d370c7bcb801eed4a550ef1f9e15bce3d77a73faadb3c542a2 not found: not found
Warning  Failed          13m                    kubelet, svm-ap-dizk8s3q  Error: failed to get sandbox container task: no running task found: task 80007714211eaea5fba407ad1d976cf0fd35f8fef3b4ef38018006b768bb5b15 not found: not found
Normal   Pulled          13m                    kubelet, svm-ap-dizk8s3q  Successfully pulled image "ricoberger/sealed-secrets-web:2.2.0" in 1.461516413s
Normal   Pulled          13m                    kubelet, svm-ap-dizk8s3q  Successfully pulled image "ricoberger/sealed-secrets-web:2.2.0" in 1.074429905s
Warning  Failed          13m                    kubelet, svm-ap-dizk8s3q  Error: failed to get sandbox container task: no running task found: task a455a9d0599550bb553a0c58c426fc3b32e57bed19e4c118a1590abacc0c122e not found: not found
Normal   Pulled          13m                    kubelet, svm-ap-dizk8s3q  Successfully pulled image "ricoberger/sealed-secrets-web:2.2.0" in 1.089813061s
Warning  Failed          13m                    kubelet, svm-ap-dizk8s3q  Error: failed to get sandbox container task: no running task found: task 4218bf1dee902868773c4c78ac282010ed21be5d66e438bd5205292673c3655d not found: not found
Normal   Pulled          13m                    kubelet, svm-ap-dizk8s3q  Successfully pulled image "ricoberger/sealed-secrets-web:2.2.0" in 1.097321991s
Warning  Failed          13m                    kubelet, svm-ap-dizk8s3q  Error: failed to get sandbox container task: no running task found: task aad7c150f5114407ea54306fd2ac2007478105eac5c8053e415568cd9acc2a99 not found: not found
Normal   Pulled          13m                    kubelet, svm-ap-dizk8s3q  Successfully pulled image "ricoberger/sealed-secrets-web:2.2.0" in 1.03966109s
Warning  Failed          13m                    kubelet, svm-ap-dizk8s3q  Error: failed to get sandbox container task: no running task found: task 129423c57e2a5a3562199117a82f2e5bd31cda56ec958e3e14f2ea21b6a9178a not found: not found

Used Versions:

  • Kubernetes v1.19.9
  • OS-Image Ubuntu 20.04.2 LTS
  • Kernel-Version 5.4.0-66-generic
  • Runtime: containerd://1.3.9
  • Helm Chart v2.2.0

My values.yaml:

sealed-secrets-web:

  image:
    args:
      - --format=yaml
      - --kubeseal-arguments=--format yaml
    pullPolicy: Always

  serviceAccount:
    create: true
    name: sealed-secrets-web

Remove secrets button

Is it easy to remove the secrets button ?
If you push secrets, select one sealed-secret, push decode : you have the clear password.
For security reasons, I want to disable this, possible ?

Serve sealed-secrets-web with path based ingress

Hi,
I'm trying to implement this web-ui on my EKS cluster and expose it through Ingress.
I'm using Nginx ingress and working with path based routing (e.g example.com/sealed-secrets)

This is how my ingress object looks like:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/force-ssl-redirect: 'true'
    nginx.ingress.kubernetes.io/rewrite-target: /$1
    nginx.ingress.kubernetes.io/ssl-passthrough: 'true'
  name: sealed-secrets-web
  namespace: kube-system
spec:
  rules:
    - host: example.com
      http:
        paths:
          - backend:
              serviceName: sealed-secrets-web
              servicePort: http
            path: /sealed-secrets/?(.*)

When i try to render the web, the static content path is missing the /sealed-secrets and cannot be found so i'm getting 404.

Screen Shot 2021-04-24 at 10 12 57

Any idea how can i make it work with path based routing?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.