Sign inSign up

jensendw/vault-gatekeeper-client-example-app

By jensendw

•Updated over 8 years ago

Example application that uses vault-gatekeeper-client pypi module to demonstrate usage

Image
0

432

jensendw/vault-gatekeeper-client-example-app repository overview

#vault-gatekeeper-client-example-app

Example app that shows how the vault-gatekeeper-client module⁠ is used in a mesos app

⁠Deployment

The deployment below assumes you're using marathon, although, the relevant pieces should work just fine for ChronosTasks etc..

{
  "id": "/vault-gatekeeper-client-example-app",
  "cmd": null,
  "cpus": 1,
  "mem": 512,
  "disk": 0,
  "instances": 1,
  "acceptedResourceRoles": [
    "*"
  ],
  "container": {
    "type": "DOCKER",
    "volumes": [],
    "docker": {
      "image": "jensendw/vault-gatekeeper-client-example-app",
      "network": "BRIDGE",
      "portMappings": [
        {
          "containerPort": 5000,
          "hostPort": 0,
          "servicePort": 10056,
          "protocol": "tcp",
          "labels": {}
        }
      ],
      "privileged": false,
      "parameters": [],
      "forcePullImage": false
    }
  },
  "env": {
    "GATEKEEPER_ADDR": "https://vault-gatekeeper",
    "VAULT_ADDR": "https://vault:8200",
    "SECRET_PATH": "secret/test"
  },
  "portDefinitions": [
    {
      "port": 10056,
      "protocol": "tcp",
      "name": "default",
      "labels": {}
    }
  ]
}

Tag summary

Content type

Image

Digest

Size

265.9 MB

Last updated

over 8 years ago

docker pull jensendw/vault-gatekeeper-client-example-app