Add notification controller to tk components

pull/73/head
stefanprodan 5 years ago
parent ecf7a1eac1
commit e594350307

@ -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…
Cancel
Save