Skip to content

Commit

Permalink
move prometheus annotations to podspec (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
theganyo authored Sep 14, 2020
1 parent 50f9095 commit 84c85f1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
14 changes: 7 additions & 7 deletions templates/istio-1.6/apigee-envoy-adapter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ kind: Deployment
metadata:
name: apigee-remote-service-envoy
namespace: {{.Namespace}}
annotations:
sidecar.istio.io/rewriteAppHTTPProbers: "true"
prometheus.io/path: /metrics
prometheus.io/port: "5001"
prometheus.io/scheme: https
prometheus.io/scrape: "true"
prometheus.io/type: prometheusspec
spec:
replicas: 1
selector:
matchLabels:
app: apigee-remote-service-envoy
template:
metadata:
annotations:
sidecar.istio.io/rewriteAppHTTPProbers: "true"
prometheus.io/path: /metrics
prometheus.io/port: "5001"
prometheus.io/scheme: https
prometheus.io/scrape: "true"
prometheus.io/type: prometheusspec
labels:
app: apigee-remote-service-envoy
version: v1
Expand Down
14 changes: 7 additions & 7 deletions templates/istio-1.7/apigee-envoy-adapter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ kind: Deployment
metadata:
name: apigee-remote-service-envoy
namespace: {{.Namespace}}
annotations:
sidecar.istio.io/rewriteAppHTTPProbers: "true"
prometheus.io/path: /metrics
prometheus.io/port: "5001"
prometheus.io/scheme: https
prometheus.io/scrape: "true"
prometheus.io/type: prometheusspec
spec:
replicas: 1
selector:
matchLabels:
app: apigee-remote-service-envoy
template:
metadata:
annotations:
sidecar.istio.io/rewriteAppHTTPProbers: "true"
prometheus.io/path: /metrics
prometheus.io/port: "5001"
prometheus.io/scheme: https
prometheus.io/scrape: "true"
prometheus.io/type: prometheusspec
labels:
app: apigee-remote-service-envoy
version: v1
Expand Down
22 changes: 11 additions & 11 deletions templates/templates.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 84c85f1

Please sign in to comment.