-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dbudziwojski/update-repolinter-type
- Loading branch information
Showing
95 changed files
with
4,823 additions
and
5,515 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file | ||
# Ignore build and test binaries. | ||
.github/ | ||
bin/ | ||
charts/ | ||
config/ | ||
local/ | ||
testbin/ | ||
tests/ | ||
tmp/ |
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
Validating CODEOWNERS rules …
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
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
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
bin/ | ||
tmp/ | ||
|
||
config |
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
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
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,61 @@ | ||
# -*- mode: Python -*- | ||
|
||
#### Config | ||
# This env var is automatically added by the e2e action. | ||
namespace = os.getenv('NAMESPACE','newrelic') | ||
chart_values_file = 'local/super-agent-tilt.yml' | ||
|
||
|
||
#### Build the final Docker image with the binary. | ||
docker_build( | ||
'tilt.local/operator-dev', | ||
context='.', | ||
dockerfile='./Dockerfile' | ||
) | ||
|
||
|
||
#### Set-up charts | ||
load('ext://helm_resource', 'helm_repo','helm_resource') | ||
load('ext://git_resource', 'git_checkout') | ||
|
||
update_dependencies = True | ||
chart = 'charts/k8s-agents-operator' | ||
deps=[chart] | ||
|
||
|
||
flags_helm = ['--create-namespace','--version=>=0.0.0-beta','--set=super-agent-deployment.image.imagePullPolicy=Always','--values=' + chart_values_file] | ||
|
||
|
||
#### Installs charts | ||
helm_repo( | ||
'jetstack', | ||
'https://charts.jetstack.io', | ||
resource_name='jetstack-helm-repo', | ||
) | ||
|
||
helm_resource( | ||
'cert-manager', | ||
'jetstack/cert-manager', | ||
namespace='cert-manager', | ||
release_name='cert-manager', | ||
update_dependencies=False, | ||
flags=['--create-namespace', '--set=crds.enabled=true'], | ||
resource_deps=['jetstack-helm-repo'] | ||
) | ||
|
||
|
||
helm_resource( | ||
'operator', | ||
chart, | ||
deps=deps, # re-deploy chart if modified locally | ||
namespace=namespace, | ||
release_name='operator', | ||
update_dependencies=False, | ||
flags=flags_helm, | ||
image_deps=['tilt.local/operator-dev'], | ||
image_keys=[('controllerManager.manager.image.repository', 'controllerManager.manager.image.tag')], | ||
resource_deps=['cert-manager'] | ||
) | ||
|
||
update_settings(k8s_upsert_timeout_secs=150) | ||
|
Oops, something went wrong.