* allows specifying the Kubernetes imagePullSecrets in configuration to pull from a private registry
* removed trailing whitespace 🙄
* removes interactive prompt for pull secret
* adds copyright info
* renames registry.hostname to regisry.name in tye.yaml schema
* reverted unnecessary change to project file
* fixes registry entry in schema documentation
Co-authored-by: David Fowler <davidfowl@gmail.com>
* Central build queue, w/ build from solution
* Fix some warnings
* Need to use -target and not -targets
Also needed to update msbuild version past 16.10 because of a bug that
meant that the default targets of projects couldn't be built.
* Remove unnecessary function
* Handle failures building solution better
* Styling updates.
* Scaffold explicit start/stop of builds.
* More styling updates.
* Cleanup working directory.
* Make build result more consistent.
* Tweak logging.
* Update formatting.
* Update more formatting.
* Add locks for critical areas.
* Update schema and reference doc.
* Fix formatting.
* Updates per PR feedback.
* More updates per PR feedback.
Co-authored-by: James Lloyd <james.lloyd@onlineseminar.nl>
Co-authored-by: phoff <phoff@microsoft.com>
* Add support for additional routes on the Dashboard
* Add deserialization unit tests
* Change routes from semicolon separated list to an array
* Use blocks for bindings.
Co-authored-by: Ante Marić <ante.maric@king-ict.hr>
Co-authored-by: phoff <phoff@microsoft.com>
* Set up tests for new dashboardPort functionality
* Add in new dashboardPort values to test data
* Map from tye.yaml configuration file into Application model
* Core change: apply DashboardPort from configuration (if cli --port argument is not specified)
* Add dashboardPort documentation to the tye schema page
* PR feedback: requested YAML (JSON) schema update
* reading named binding
Reading named binding took me quite some time to actually get it to working, I believe adding this line would help other readers save some time
* Update docs/reference/service_discovery.md
Co-authored-by: John Luo <johluo@microsoft.com>
CONNECTIONSTRING comes as CONNECTIONSTRINGS in the environment variable.
(Discovery during debugging tye run --debug (code is .NET 5.0.100) via System.Environment.GetEnvironmentVariable
CONNECTIONSTRING__POSTGRES -> CONNECTIONSTRINGS__POSTGRES
* sample app and beggining of recipe
* fix link
* sample, recipe and schema docs
* change http failures to debug logs
* add model validation to probes and http prober
* add deserialization and validation tests
* license
* format
* PR fixes
* remove some Console.WriteLine's
This is new command that can be used to delete everything running in a
cluster related to an application using the labels we use.
This currently uses a hardcoded set of resource types. It would be
possible to make this generic, which might become needed in the future.
See comments in the code.
---
The overall design for how to use the command:
```sh
tye undeploy
```
Will read a solution or tye.yaml to get the application name. It then
enumerates and deletes all resources in the cluster with
`app.kubernetes.io/part-of=application-name` (in the current namespace).
```sh
tye undeploy --what-if
```
Will do the same, but without actually doing the deletion.
```sh
tye undeploy -i
```
Will interactively give you a yes/no choice for whether to delete each
resource.