Add helm-controller to installer
This commit is contained in:
@@ -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", "notification-controller"},
|
[]string{"source-controller", "kustomize-controller", "helm-controller", "notification-controller"},
|
||||||
"list of components, accepts comma-separated values")
|
"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/source-controller
|
||||||
- ../bases/kustomize-controller
|
- ../bases/kustomize-controller
|
||||||
- ../bases/notification-controller
|
- ../bases/notification-controller
|
||||||
|
- ../bases/helm-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: ['helm.fluxcd.io']
|
||||||
|
resources: ['*']
|
||||||
|
verbs: ['*']
|
||||||
- apiGroups: ['notification.fluxcd.io']
|
- apiGroups: ['notification.fluxcd.io']
|
||||||
resources: ['*']
|
resources: ['*']
|
||||||
verbs: ['*']
|
verbs: ['*']
|
||||||
|
|||||||
Reference in New Issue
Block a user