mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-21 15:11:47 +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,
|
rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "", false,
|
||||||
"print generated objects")
|
"print generated objects")
|
||||||
rootCmd.PersistentFlags().StringSliceVar(&components, "components",
|
rootCmd.PersistentFlags().StringSliceVar(&components, "components",
|
||||||
[]string{"source-controller", "kustomize-controller"},
|
[]string{"source-controller", "kustomize-controller", "notification-controller"},
|
||||||
"list of components, accepts comma-separated values")
|
"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
|
- namespace.yaml
|
||||||
- ../bases/source-controller
|
- ../bases/source-controller
|
||||||
- ../bases/kustomize-controller
|
- ../bases/kustomize-controller
|
||||||
|
- ../bases/notification-controller
|
||||||
- ../rbac
|
- ../rbac
|
||||||
- ../policies
|
- ../policies
|
||||||
transformers:
|
transformers:
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@ rules:
|
||||||
- apiGroups: ['kustomize.fluxcd.io']
|
- apiGroups: ['kustomize.fluxcd.io']
|
||||||
resources: ['*']
|
resources: ['*']
|
||||||
verbs: ['*']
|
verbs: ['*']
|
||||||
|
- apiGroups: ['notification.fluxcd.io']
|
||||||
|
resources: ['*']
|
||||||
|
verbs: ['*']
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue