mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-09 17:27:28 +00:00
Add helm-controller to installer
This commit is contained in:
parent
16f693148b
commit
02521b6964
5 changed files with 20 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", "notification-controller"},
|
||||
[]string{"source-controller", "kustomize-controller", "helm-controller", "notification-controller"},
|
||||
"list of components, accepts comma-separated values")
|
||||
}
|
||||
|
||||
|
|
|
|||
12
manifests/bases/helm-controller/kustomization.yaml
Normal file
12
manifests/bases/helm-controller/kustomization.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- github.com/fluxcd/helm-controller/config//crd?ref=v0.0.1-alpha.1
|
||||
- github.com/fluxcd/helm-controller/config//manager?ref=v0.0.1-alpha.1
|
||||
patchesJson6902:
|
||||
- target:
|
||||
group: apps
|
||||
version: v1
|
||||
kind: Deployment
|
||||
name: helm-controller
|
||||
path: patch.yaml
|
||||
3
manifests/bases/helm-controller/patch.yaml
Normal file
3
manifests/bases/helm-controller/patch.yaml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
- op: add
|
||||
path: /spec/template/spec/containers/0/args/0
|
||||
value: --events-addr=http://notification-controller/
|
||||
|
|
@ -6,6 +6,7 @@ resources:
|
|||
- ../bases/source-controller
|
||||
- ../bases/kustomize-controller
|
||||
- ../bases/notification-controller
|
||||
- ../bases/helm-controller
|
||||
- ../rbac
|
||||
- ../policies
|
||||
transformers:
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@ rules:
|
|||
- apiGroups: ['kustomize.fluxcd.io']
|
||||
resources: ['*']
|
||||
verbs: ['*']
|
||||
- apiGroups: ['helm.fluxcd.io']
|
||||
resources: ['*']
|
||||
verbs: ['*']
|
||||
- apiGroups: ['notification.fluxcd.io']
|
||||
resources: ['*']
|
||||
verbs: ['*']
|
||||
|
|
|
|||
Loading…
Reference in a new issue