Skip to content

Kuiper with EdgeX security #85

Answered by bnevis-i
neerajasjawali asked this question in Q&A
Discussion options

You must be logged in to vote

Update: I added the following to security-secretstore-setup:

      ADD_SECRETSTORE_TOKENS: ekuiper
      ADD_KNOWN_SECRETS: "redisdb[ekuiper]"

And to rules-engine (for the moment, not injecting the bootstrapper script):

  rules-engine:
    read_only: false
    env_file:
      - common-security.env
      - common-sec-stage-gate.env
    volumes:
      - edgex-init:/edgex-init:ro
      - /tmp/edgex/secrets/ekuiper:/tmp/edgex/secrets/ekuiper:ro,z
    depends_on:
      - security-bootstrapper

Add curl

docker exec -ti -u root edgex-kuiper apk add curl

Get secret store token (note workaround for different uid for ekuiper container)

docker exec -ti -u 2002 edgex-kuiper cat /tmp/edgex/secrets/ekui…

Replies: 6 comments 36 replies

Comment options

You must be logged in to vote
16 replies
@ngjaying
Comment options

@neerajasjawali
Comment options

@neerajasjawali
Comment options

@ngjaying
Comment options

@neerajasjawali
Comment options

Comment options

You must be logged in to vote
15 replies
@MonicaisHer
Comment options

@neerajasjawali
Comment options

@bnevis-i
Comment options

@bnevis-i
Comment options

Answer selected by neerajasjawali
@neerajasjawali
Comment options

@neerajasjawali
Comment options

@neerajasjawali
Comment options

@bnevis-i
Comment options

Comment options

You must be logged in to vote
2 replies
@bnevis-i
Comment options

@neerajasjawali
Comment options

Comment options

You must be logged in to vote
1 reply
@neerajasjawali
Comment options

Comment options

You must be logged in to vote
1 reply
@neerajasjawali
Comment options

Comment options

You must be logged in to vote
1 reply
@bnevis-i
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants