Skip to content

Commit

Permalink
operator knative-operator (1.11.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
houshengbo authored Aug 1, 2023
1 parent 1bad95c commit 996306a
Show file tree
Hide file tree
Showing 17 changed files with 6,319 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
aggregationRule:
clusterRoleSelectors:
- matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- knative-eventing
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: knative-operator
app.kubernetes.io/version: v1.11.1
name: knative-eventing-operator-aggregated-stable
rules: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: knative-operator
app.kubernetes.io/version: v1.11.1
name: knative-eventing-operator-aggregated-stable
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: knative-eventing-operator-aggregated-stable
subjects:
- kind: ServiceAccount
name: knative-operator
namespace: operators
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
aggregationRule:
clusterRoleSelectors:
- matchExpressions:
- key: eventing.knative.dev/release
operator: Exists
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: knative-operator
app.kubernetes.io/version: v1.11.1
name: knative-eventing-operator-aggregated
rules: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/name: knative-operator
app.kubernetes.io/version: v1.11.1
name: knative-eventing-operator-aggregated
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: knative-eventing-operator-aggregated
subjects:
- kind: ServiceAccount
name: knative-operator
namespace: operators
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
apiVersion: v1
data:
_example: |
################################
# #
# EXAMPLE CONFIGURATION #
# #
################################
# This block is not actually functional configuration,
# but serves to illustrate the available configuration
# options and document them in a way that is accessible
# to users that `kubectl edit` this config map.
#
# These sample configuration options may be copied out of
# this example block and unindented to be in the data block
# to actually change the configuration.
# Common configuration for all Knative codebase
zap-logger-config: |
{
"level": "info",
"development": false,
"outputPaths": ["stdout"],
"errorOutputPaths": ["stderr"],
"encoding": "json",
"encoderConfig": {
"timeKey": "ts",
"levelKey": "level",
"nameKey": "logger",
"callerKey": "caller",
"messageKey": "msg",
"stacktraceKey": "stacktrace",
"lineEnding": "",
"levelEncoder": "",
"timeEncoder": "iso8601",
"durationEncoder": "",
"callerEncoder": ""
}
}
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/name: knative-operator
app.kubernetes.io/version: v1.11.1
name: config-logging
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
apiVersion: v1
data:
_example: |
################################
# #
# EXAMPLE CONFIGURATION #
# #
################################
# This block is not actually functional configuration,
# but serves to illustrate the available configuration
# options and document them in a way that is accessible
# to users that `kubectl edit` this config map.
#
# These sample configuration options may be copied out of
# this example block and unindented to be in the data block
# to actually change the configuration.
# logging.enable-var-log-collection defaults to false.
# The fluentd daemon set will be set up to collect /var/log if
# this flag is true.
logging.enable-var-log-collection: false
# logging.revision-url-template provides a template to use for producing the
# logging URL that is injected into the status of each Revision.
# This value is what you might use the the Knative monitoring bundle, and provides
# access to Kibana after setting up kubectl proxy.
logging.revision-url-template: |
http://localhost:8001/api/v1/namespaces/knative-monitoring/services/kibana-logging/proxy/app/kibana#/discover?_a=(query:(match:(kubernetes.labels.serving-knative-dev%2FrevisionUID:(query:'${REVISION_UID}',type:phrase))))
# metrics.backend-destination field specifies the system metrics destination.
# It supports either prometheus (the default) or stackdriver.
# Note: Using stackdriver will incur additional charges
metrics.backend-destination: prometheus
# metrics.request-metrics-backend-destination specifies the request metrics
# destination. If non-empty, it enables queue proxy to send request metrics.
# Currently supported values: prometheus, stackdriver.
metrics.request-metrics-backend-destination: prometheus
# metrics.stackdriver-project-id field specifies the stackdriver project ID. This
# field is optional. When running on GCE, application default credentials will be
# used if this field is not provided.
metrics.stackdriver-project-id: "<your stackdriver project id>"
# metrics.allow-stackdriver-custom-metrics indicates whether it is allowed to send metrics to
# Stackdriver using "global" resource type and custom metric type if the
# metrics are not supported by "knative_revision" resource type. Setting this
# flag to "true" could cause extra Stackdriver charge.
# If metrics.backend-destination is not Stackdriver, this is ignored.
metrics.allow-stackdriver-custom-metrics: "false"
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/name: knative-operator
app.kubernetes.io/version: v1.11.1
name: config-observability
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: v1
kind: Secret
metadata:
labels:
app.kubernetes.io/component: operator-webhook
app.kubernetes.io/name: knative-operator
app.kubernetes.io/version: v1.11.1
name: operator-webhook-certs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: operator-webhook
app.kubernetes.io/name: knative-operator
app.kubernetes.io/version: v1.11.1
role: operator-webhook
name: operator-webhook
spec:
ports:
- name: http-metrics
port: 9090
targetPort: 9090
- name: http-profiling
port: 8008
targetPort: 8008
- name: https-webhook
port: 443
targetPort: 8443
selector:
role: operator-webhook
status:
loadBalancer: {}
Loading

0 comments on commit 996306a

Please sign in to comment.