Skip to content
Snippets Groups Projects
  1. Aug 16, 2018
    • Max Leonard Inden's avatar
      *.sh: Set sane bash options on shell scripts · cbb03d38
      Max Leonard Inden authored
      Adding the following accross the project:
      
      ```bash
      /# exit immediately when a command fails
      set -e
      /# only exit with zero if all commands of the pipeline exit successfully
      set -o pipefail
      /# error on unset variables
      +set -u
      
      ```
      cbb03d38
  2. Apr 13, 2018
  3. Mar 19, 2018
    • Max Leonard Inden's avatar
      contrib/kube: Add rbac role to discover prometheus · 310f471c
      Max Leonard Inden authored
      The current example-app setup in the kube-prometheus project is able to
      discover scraping targets in the default namespace. It is not able to
      discover the configured Alertmanager in the monitoring namespace.
      
      This patch adds an alertmanager-discovery rbac role, to permit the
      above described action. In addition it does the following cleanups:
      
      - Remove kubeconfig configuration in deploy and teardown script. kubectl
      chooses .kube/config whenever KUBECONFIG is not set by default
      
      - Remove namespace specification option via NAMESPACE env var. In most
      of the manifests the metadata/namespace was hardcoded anyways, in
      addition in the promtheus frontend role binding the service account
      namespace is hardcoded to default as well.
      
      - Instead of `kubectl {apply,delete}` individual manifests, the deploy
      and teardown shell scripts {apply,delete} on the entire folder.
      310f471c
  4. Mar 08, 2018
  5. May 03, 2017
  6. Mar 07, 2017
  7. Mar 06, 2017
  8. Feb 28, 2017
  9. Jan 03, 2017
  10. Oct 20, 2016
Loading