Skip to content

Commit

Permalink
Merge pull request #11 from stakater-charts/fix-clusterrolebinding
Browse files Browse the repository at this point in the history
fix clusterrole name in clusterrolebindings
  • Loading branch information
ahmedwaleedmalik authored May 18, 2020
2 parents 77554e5 + 9492607 commit e037a97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/groovy
@Library('github.com/stakater/stakater-pipeline-library@v2.14.0')
@Library('github.com/stakater/stakater-pipeline-library@v2.16.26')

def dummy = ""

prepareAndUploadCharts {
charts = [ "application" ]
publicChartRepositoryURL = 'https://stakater.github.io/stakater-charts'
publicChartGitURL = '[email protected]:stakater/stakater-charts.git'
publicChartGitURL = '[email protected]:stakater/stakater-charts.git'
}
4 changes: 2 additions & 2 deletions application/templates/clusterrolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ metadata:
annotations:
{{ toYaml $.Values.rbac.annotations | indent 4 }}
{{- end }}
name: {{ template "application.name" $ }}-clusterrole-{{ .name }}
name: {{ template "application.name" $ }}-clusterrolebinding-{{ .name }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ template "application.name" $ }}-clusterrolebinding-{{ .name }}
name: {{ template "application.name" $ }}-clusterrole-{{ .name }}
subjects:
- kind: ServiceAccount
{{- if $.Values.rbac.serviceAccount.name }}
Expand Down

0 comments on commit e037a97

Please sign in to comment.