View wait_for_conjur.sh
#!/bin/bash
set -eou pipefail
set +e
while : ; do
printf "..."
sleep 2
healthy=$(curl -sk https://$HOSTNAME/health | jq -r '.ok')
if [[ $healthy == true ]]; then
break
View kubernetes-tipsntricks.md

Kubernetes Tips 'n' Tricks

This is a living document

Show the Jenkins admin password

printf $(kubectl get secret --namespace <namespace> <podname> -o jsonpath="{.data.jenkins-admin-password}" | base64 --decode);echo

View collect_pcf-conjur-deps.sh
#!/bin/bash
set -eo pipefail
mkdir repo
echo "##############################"
echo "# Installing Ruby Gem deps #"
echo "##############################"
echo ""
View detect_yum_aptget.sh
#######################################
# Detects yum or apt-get
# Globals:
# None
# Arguments:
# None
# Returns:
# Package Manager command
#######################################
packagemanager() {
View awxinstallopenshift.sh
mkdir Tower
cd Tower/
git clone https://github.com/ansible/awx.git
cd awx
cd installer/
#vi inventory
-# openshift_host=127.0.0.1:8443
-# awx_openshift_project=awx
-# openshift_user=developer
View conjur.identity
machine https://conjur.cyberark.com/authn
login host/hostID
password 1234567890abcdefghijklmnopqrstuvwxyz
View pipeline.yml
---
jobs:
- name: job-hello-world
public: true
plan:
- task: hello-world
config:
platform: linux
image_resource:
type: docker-image
View department-aws.yml
- !policy
id: department/aws
annotations:
platform: aws
department: tableau-server-dev
body:
- &secrets
- !variable department/aws/access-key-id
- !variable department/aws/secret-access-key
View install-pivotal.md
View conjur-rbac.yml
########
# USERS POLICY EXAMPLE
########
---
- !user ted # no group
- !user carol # developer
- !user bob # devops
- !user alice # sec_ops
- !group developers