Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
fbe47871
Commit
fbe47871
authored
Aug 10, 2019
by
Chris Baumbauer
Committed by
Alishan Ladhani
Oct 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit knative 0.6 -> 0.7
parent
e526ee6e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
6 deletions
+17
-6
app/models/clusters/applications/knative.rb
app/models/clusters/applications/knative.rb
+2
-2
app/serializers/projects/serverless/service_entity.rb
app/serializers/projects/serverless/service_entity.rb
+1
-1
changelogs/unreleased/knative-0-7.yml
changelogs/unreleased/knative-0-7.yml
+5
-0
config/knative/api_resources.yml
config/knative/api_resources.yml
+7
-1
config/prometheus/common_metrics.yml
config/prometheus/common_metrics.yml
+1
-1
spec/models/clusters/applications/knative_spec.rb
spec/models/clusters/applications/knative_spec.rb
+1
-1
No files found.
app/models/clusters/applications/knative.rb
View file @
fbe47871
...
...
@@ -3,8 +3,8 @@
module
Clusters
module
Applications
class
Knative
<
ApplicationRecord
VERSION
=
'0.
6
.0'
REPOSITORY
=
'https://storage.googleapis.com/triggermesh-charts'
VERSION
=
'0.
7
.0'
REPOSITORY
=
'https://storage.googleapis.com/
gitlab-
triggermesh-charts'
METRICS_CONFIG
=
'https://storage.googleapis.com/triggermesh-charts/istio-metrics.yaml'
FETCH_IP_ADDRESS_DELAY
=
30
.
seconds
API_RESOURCES_PATH
=
'config/knative/api_resources.yml'
...
...
app/serializers/projects/serverless/service_entity.rb
View file @
fbe47871
...
...
@@ -44,7 +44,7 @@ module Projects
end
expose
:url
do
|
service
|
"http://
#{
service
.
dig
(
'status'
,
'domain'
)
}
"
service
.
dig
(
'status'
,
'url'
)
end
expose
:description
do
|
service
|
...
...
changelogs/unreleased/knative-0-7.yml
0 → 100644
View file @
fbe47871
---
title
:
Knative version bump 0.6 ->
0.7
merge_request
:
author
:
Chris Baumbauer
type
:
changed
config/knative/api_resources.yml
View file @
fbe47871
...
...
@@ -61,4 +61,10 @@
-
virtualservices.networking.istio.io
-
rbacconfigs.rbac.istio.io
-
servicerolebindings.rbac.istio.io
-
serviceroles.rbac.istio.io
\ No newline at end of file
-
serviceroles.rbac.istio.io
-
cloudwatches.config.istio.io
-
clusterrbacconfigs.rbac.istio.io
-
dogstatsds.config.istio.io
-
ingresses.networking.internal.knative.dev
-
sidecars.networking.istio.io
-
zipkins.config.istio.io
config/prometheus/common_metrics.yml
View file @
fbe47871
...
...
@@ -209,6 +209,6 @@ panel_groups:
weight
:
1
metrics
:
-
id
:
system_metrics_knative_function_invocation_count
query_range
:
'
floor(sum(rate(istio_revision_request_count{destination_configuration="%{function_name}",
destination_namespace="%{kube_namespace}"}[1m])/3)
)'
query_range
:
'
ceil(rate(istio_requests_total{destination_service_namespace="%{kube_namespace}",
destination_app=~"%{function_name}.*"}[1m])*60
)'
label
:
invocations / minute
unit
:
requests
spec/models/clusters/applications/knative_spec.rb
View file @
fbe47871
...
...
@@ -119,7 +119,7 @@ describe Clusters::Applications::Knative do
subject
{
knative
.
install_command
}
it
'is initialized with latest version'
do
expect
(
subject
.
version
).
to
eq
(
'0.
6
.0'
)
expect
(
subject
.
version
).
to
eq
(
'0.
7
.0'
)
end
it_behaves_like
'a command'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment