Skip to content

Instantly share code, notes, and snippets.

@sherl0cks
Created January 24, 2018 03:51
Show Gist options
  • Save sherl0cks/9bd5d905cb2f5d8ef308fda7c80833ea to your computer and use it in GitHub Desktop.
Save sherl0cks/9bd5d905cb2f5d8ef308fda7c80833ea to your computer and use it in GitHub Desktop.
---
kind: Template
apiVersion: v1
metadata:
name: jenkins-pipeline-no-ocp-triggers
objects:
- apiVersion: v1
kind: RoleBinding
metadata:
name: "${ROLE}"
roleRef:
name: "${ROLE}"
subjects:
- kind: Group
name: "${GROUP}"
parameters:
- name: ROLE
displayName: Role
description: The role to bind to the group
required: true
- name: GROUP
displayName: Group
description: The group to bind to the role
required: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment