forked from knative/serving
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2e - drop imperative bash yaml for declarative ytt/kapp (knative#11175)
* e2e - drop imperative bash yaml for declarative ytt/kapp * don't override knative_setup * fix namespace of some test-resources * move ingress class to a property file * change overlay file names to indicate which configmaps they overlay * domain-mapping controller is HA * better coordination between generate-yamls.sh and our e2e scripts * post-install job support * fix autotls tests * fix kourier - do a global search when replacing the system namespace * drop setting ambassador namespace * pin kapp to a specific sha * first pass at upgrade test fixes * drop ignore-unknown-comments flag - no longer needed with v0.32.0 * fix istio latest-release install * hardcode kapp app names upgrade tests change the E2E_SCRIPT name thus we can end up with two installations * kind tweaks * drop unused constant * minor cleanup * fix stray # in istio mesh ytt file * drop bash wait since kapp will do this for us * pull back the global rename and just do it where we need to otherwise we end up with cluster roles with weird names * apply injection to namespaces * custom-yamls now accepts the generated env file output from generate-yamls.sh * include peer auth for net-certmanager webhook * fix kong ingress value
- Loading branch information
Showing
46 changed files
with
964 additions
and
767 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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
#@ load("@ytt:overlay", "overlay") | ||
#@ load("@ytt:data", "data") | ||
|
||
#@ load("helpers.lib.yaml", "system_resource") | ||
|
||
#@overlay/match by=system_resource(name="activator", kind="HorizontalPodAutoscaler"), expects=1 | ||
--- | ||
#@overlay/match-child-defaults missing_ok=True | ||
spec: | ||
minReplicas: 15 | ||
maxReplicas: 15 |
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,16 @@ | ||
#@ load("@ytt:overlay", "overlay") | ||
#@ load("@ytt:yaml", "yaml") | ||
#@ load("@ytt:data", "data") | ||
|
||
#@ def rename_cluster_domain(old, new): | ||
#@ def replace(left, right): | ||
#@ yaml_left = yaml.encode(left) | ||
#@ yaml_left = yaml_left.replace(old, new) | ||
#@ return yaml.decode(yaml_left) | ||
#@ end | ||
#@ return replace | ||
#@ end | ||
|
||
#@overlay/match by=overlay.all, expects="1+" | ||
#@overlay/replace via=rename_cluster_domain("cluster.local", data.values.k8s.cluster.domain) | ||
--- |
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 @@ | ||
#@ load("@ytt:overlay", "overlay") | ||
#@ load("helpers.lib.yaml", "system_configmap") | ||
|
||
#@overlay/match by=system_configmap("config-deployment"), expects=1 | ||
--- | ||
#@overlay/match-child-defaults missing_ok=True | ||
data: | ||
progressDeadline: "120s" |
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,38 @@ | ||
#@ load("@ytt:overlay", "overlay") | ||
#@ load("helpers.lib.yaml", "system_configmap") | ||
|
||
#@overlay/match by=system_configmap("config-logging"), expects=1 | ||
--- | ||
#@overlay/match-child-defaults missing_ok=True | ||
data: | ||
zap-logger-config: | | ||
{ | ||
"level": "debug", | ||
"development": false, | ||
"outputPaths": ["stdout"], | ||
"errorOutputPaths": ["stderr"], "encoding": "json", | ||
"encoderConfig": { | ||
"timeKey": "timestamp", | ||
"levelKey": "severity", | ||
"nameKey": "logger", | ||
"callerKey": "caller", | ||
"messageKey": "message", | ||
"stacktraceKey": "stacktrace", | ||
"lineEnding": "", | ||
"levelEncoder": "", | ||
"timeEncoder": "iso8601", | ||
"durationEncoder": "", | ||
"callerEncoder": "" | ||
} | ||
} | ||
loglevel.controller: "debug" | ||
loglevel.autoscaler: "debug" | ||
loglevel.queueproxy: "debug" | ||
loglevel.webhook: "debug" | ||
loglevel.activator: "debug" | ||
loglevel.hpaautoscaler: "debug" | ||
loglevel.domainmapping: "debug" | ||
loglevel.certcontroller: "debug" | ||
loglevel.istiocontroller: "debug" | ||
loglevel.nscontroller: "debug" |
Oops, something went wrong.