Created
January 24, 2018 03:51
-
-
Save sherl0cks/9bd5d905cb2f5d8ef308fda7c80833ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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