mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
Add notification controller to tk components
This commit is contained in:
parent
ecf7a1eac1
commit
e594350307
4 changed files with 10 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ func init() {
|
|||
rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "", false,
|
||||
"print generated objects")
|
||||
rootCmd.PersistentFlags().StringSliceVar(&components, "components",
|
||||
[]string{"source-controller", "kustomize-controller"},
|
||||
[]string{"source-controller", "kustomize-controller", "notification-controller"},
|
||||
"list of components, accepts comma-separated values")
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- github.com/fluxcd/notification-controller/config//crd?ref=v0.0.1-alpha.2
|
||||
- github.com/fluxcd/notification-controller/config//manager?ref=v0.0.1-alpha.2
|
||||
|
|
@ -5,6 +5,7 @@ resources:
|
|||
- namespace.yaml
|
||||
- ../bases/source-controller
|
||||
- ../bases/kustomize-controller
|
||||
- ../bases/notification-controller
|
||||
- ../rbac
|
||||
- ../policies
|
||||
transformers:
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@ rules:
|
|||
- apiGroups: ['kustomize.fluxcd.io']
|
||||
resources: ['*']
|
||||
verbs: ['*']
|
||||
- apiGroups: ['notification.fluxcd.io']
|
||||
resources: ['*']
|
||||
verbs: ['*']
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
|
|
|
|||
Loading…
Reference in a new issue