-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from chaudharyalka/calka/adding-v0.24.4
Adding source controller version v0.24.4
- Loading branch information
Showing
29 changed files
with
5,203 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
packages/fluxcd-source-controller/0.24.4/bundle/.imgpkg/images.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
apiVersion: imgpkg.carvel.dev/v1alpha1 | ||
images: | ||
- annotations: | ||
kbld.carvel.dev/id: fluxcd/source-controller:v0.24.4 | ||
kbld.carvel.dev/origins: | | ||
- resolved: | ||
tag: v0.24.4 | ||
url: fluxcd/source-controller:v0.24.4 | ||
image: index.docker.io/fluxcd/source-controller@sha256:b4e671bd9c53f384986daa833042a91f2633740c192cdec575d9ef6968c96f97 | ||
kind: ImagesLock |
8 changes: 8 additions & 0 deletions
8
packages/fluxcd-source-controller/0.24.4/bundle/config/kapp.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: kapp.k14s.io/v1alpha1 | ||
kind: Config | ||
rebaseRules: | ||
- path: [status] | ||
type: copy | ||
sources: [existing] | ||
resourceMatchers: | ||
- allMatcher: {} |
86 changes: 86 additions & 0 deletions
86
.../fluxcd-source-controller/0.24.4/bundle/config/overlays/overlay-namespace-svcaccount.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
#@ load("@ytt:data", "data") | ||
#@ load("@ytt:overlay", "overlay") | ||
#@ load("@ytt:template", "template") | ||
|
||
#@ svc_account_name = "source-controller-serviceaccount" | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: #@ svc_account_name | ||
namespace: #@ data.values.namespace | ||
|
||
#@overlay/match by=overlay.subset({"kind": "Deployment", "metadata": {"name": "source-controller"}}) | ||
--- | ||
metadata: | ||
#@overlay/match missing_ok=True | ||
namespace: #@ data.values.namespace | ||
spec: | ||
template: | ||
spec: | ||
#@overlay/match missing_ok=True | ||
serviceAccountName: #@ svc_account_name | ||
|
||
#@overlay/match by=overlay.subset({"kind": "Namespace"}) | ||
--- | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: #@ data.values.namespace | ||
|
||
#@overlay/match by=overlay.subset({"kind": "Service"}) | ||
--- | ||
spec: | ||
ports: | ||
#@overlay/match by=overlay.subset({"name": "http"}), expects=1 | ||
- name: http | ||
port: #@ data.values.service_port | ||
|
||
#@overlay/match by=overlay.subset({"kind": "Role", "metadata": {"name": "leader-election-role"}}) | ||
--- | ||
metadata: | ||
#@overlay/match missing_ok=True | ||
namespace: #@ data.values.namespace | ||
name: #@ "{}-leader-election-role".format("fluxcd-source") | ||
|
||
#@overlay/match by=overlay.subset({"kind": "RoleBinding", "metadata": {"name": "leader-election-rolebinding"}}) | ||
--- | ||
metadata: | ||
#@overlay/match missing_ok=True | ||
namespace: #@ data.values.namespace | ||
name: #@ "{}-leader-election-rolebinding".format("fluxcd-source") | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: Role | ||
name: #@ "{}-leader-election-role".format("fluxcd-source") | ||
subjects: | ||
#@overlay/match by=overlay.subset({"kind": "ServiceAccount"}), expects=1 | ||
- kind: ServiceAccount | ||
name: #@ svc_account_name | ||
namespace: #@ data.values.namespace | ||
|
||
#@overlay/match by=overlay.subset({"kind": "ClusterRole", "metadata": {"name": "manager-role"}}) | ||
--- | ||
metadata: | ||
name: #@ "{}-manager-role".format("fluxcd-source") | ||
|
||
#@overlay/match by=overlay.subset({"kind": "ClusterRoleBinding", "metadata": {"name": "manager-rolebinding"}}) | ||
--- | ||
metadata: | ||
name: #@ "{}-manager-rolebinding".format("fluxcd-source") | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: #@ "{}-manager-role".format("fluxcd-source") | ||
subjects: | ||
#@overlay/match by=overlay.subset({"kind": "ServiceAccount"}), expects=1 | ||
- kind: ServiceAccount | ||
name: #@ svc_account_name | ||
namespace: #@ data.values.namespace | ||
|
||
#@overlay/match by=overlay.subset({"kind": "Service", "metadata": {"name": "source-controller"}}) | ||
--- | ||
metadata: | ||
#@overlay/match missing_ok=True | ||
namespace: #@ data.values.namespace |
28 changes: 28 additions & 0 deletions
28
packages/fluxcd-source-controller/0.24.4/bundle/config/overlays/overlay-proxy-limits.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#@ load("@ytt:data", "data") | ||
#@ load("@ytt:overlay", "overlay") | ||
|
||
#@overlay/match by=overlay.subset({"kind": "Deployment", "metadata": {"name": "source-controller"}}) | ||
--- | ||
spec: | ||
template: | ||
spec: | ||
#@overlay/match missing_ok=True | ||
containers: | ||
#@overlay/match by=overlay.all | ||
- env: | ||
#@ if data.values.proxy.no_proxy != "": | ||
- name: NO_PROXY | ||
value: #@ data.values.proxy.no_proxy | ||
#@ end | ||
#@ if data.values.proxy.https_proxy != "": | ||
- name: HTTPS_PROXY | ||
value: #@ data.values.proxy.https_proxy | ||
#@ end | ||
#@ if data.values.proxy.http_proxy != "": | ||
- name: HTTP_PROXY | ||
value: #@ data.values.proxy.http_proxy | ||
#@ end | ||
resources: | ||
limits: | ||
cpu: #@ data.values.resources.limits_cpu | ||
memory: #@ data.values.resources.limits_memory |
Oops, something went wrong.