Skip to content

Commit

Permalink
fix(ci): fix generated files missing
Browse files Browse the repository at this point in the history
Signed-off-by: soulseen <zhuxiaoyang1996@gmail.com>
  • Loading branch information
soulseen committed Dec 14, 2020
1 parent aa4cd68 commit 8929acc
Show file tree
Hide file tree
Showing 10 changed files with 631 additions and 4 deletions.
13 changes: 13 additions & 0 deletions charts/harbor-operator/templates/certificate.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
{{- /* Code generated by make. DO NOT EDIT. */ -}}
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
name: '{{ include "chart.fullname" . }}-serving-cert'
namespace: {{ .Release.Namespace | quote }}
spec:
dnsNames:
- '{{ include "chart.fullname" . }}.{{ .Release.Namespace }}.svc'
- '{{ include "chart.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local'
issuerRef:
kind: Issuer
name: '{{ include "chart.fullname" . }}-selfsigned-issuer'
secretName: '{{ include "chart.fullname" . }}-certificate'
353 changes: 353 additions & 0 deletions charts/harbor-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,356 @@
{{- /* Code generated by make. DO NOT EDIT. */ -}}
{{- if .Values.rbac.create }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: '{{ include "chart.fullname" . }}-harbor-operator-role'
rules:
- apiGroups:
- ""
resources:
- configmaps
- secrets
- services
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- configmaps
- services
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- pods
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- services
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- acid.zalan.do
resources:
- operatorconfigurations
- postgresqls
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
- apiGroups:
- acid.zalan.do
resources:
- postgresqls/status
verbs:
- get
- patch
- update
- apiGroups:
- apps
resources:
- deployments
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- apps
resources:
- deployments
- statefulsets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- cert-manager.io
resources:
- certificates
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- cert-manager.io
resources:
- certificates
- issuers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- databases.spotahome.com
resources:
- redisfailovers
verbs:
- '*'
- apiGroups:
- goharbor.io
resources:
- chartmuseums
verbs:
- get
- list
- watch
- apiGroups:
- goharbor.io
resources:
- chartmuseums
- cores
- jobservices
- notaryservers
- notarysigners
- portals
- registries
- registrycontrollers
- trivies
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- goharbor.io
resources:
- chartmuseums/status
verbs:
- get
- patch
- update
- apiGroups:
- goharbor.io
resources:
- cores
verbs:
- get
- list
- watch
- apiGroups:
- goharbor.io
resources:
- cores/status
verbs:
- get
- patch
- update
- apiGroups:
- goharbor.io
resources:
- harborclusters
verbs:
- get
- list
- watch
- apiGroups:
- goharbor.io
resources:
- harborclusters/status
verbs:
- get
- patch
- update
- apiGroups:
- goharbor.io
resources:
- harbors
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- goharbor.io
resources:
- harbors/status
verbs:
- get
- patch
- update
- apiGroups:
- goharbor.io
resources:
- jobservices
verbs:
- get
- list
- watch
- apiGroups:
- goharbor.io
resources:
- jobservices/status
verbs:
- get
- patch
- update
- apiGroups:
- goharbor.io
resources:
- notaryservers
verbs:
- get
- list
- watch
- apiGroups:
- goharbor.io
resources:
- notaryservers/status
verbs:
- get
- patch
- update
- apiGroups:
- goharbor.io
resources:
- notarysigners
verbs:
- get
- list
- watch
- apiGroups:
- goharbor.io
resources:
- notarysigners/status
verbs:
- get
- patch
- update
- apiGroups:
- goharbor.io
resources:
- portals
verbs:
- get
- list
- watch
- apiGroups:
- goharbor.io
resources:
- portals/status
verbs:
- get
- patch
- update
- apiGroups:
- goharbor.io
resources:
- registries
verbs:
- get
- list
- watch
- apiGroups:
- goharbor.io
resources:
- registries/status
verbs:
- get
- patch
- update
- apiGroups:
- goharbor.io
resources:
- registrycontrollers
verbs:
- get
- list
- watch
- apiGroups:
- goharbor.io
resources:
- registrycontrollers/status
verbs:
- get
- patch
- update
- apiGroups:
- goharbor.io
resources:
- trivies
verbs:
- get
- list
- watch
- apiGroups:
- goharbor.io
resources:
- trivies/status
verbs:
- get
- patch
- update
- apiGroups:
- minio.min.io
resources:
- '*'
verbs:
- '*'
- apiGroups:
- networking.k8s.io
resources:
- ingresses
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
{{- end -}}
12 changes: 12 additions & 0 deletions charts/harbor-operator/templates/clusterrolebinding.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
{{- /* Code generated by make. DO NOT EDIT. */ -}}
{{- if .Values.rbac.create }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: '{{ include "chart.fullname" . }}-harbor-operator-rolebinding'
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: '{{ include "chart.fullname" . }}-harbor-operator-role'
subjects:
- kind: ServiceAccount
name: {{ include "chart.serviceAccountName" . | quote }}
namespace: {{ .Release.Namespace | quote }}
{{- end -}}

0 comments on commit 8929acc

Please sign in to comment.