-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make namespace portion of name a helm template variable instead of ha…
…rdcoded (#15)
- Loading branch information
1 parent
27cd85c
commit 234c5e1
Showing
2 changed files
with
20 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
apiVersion: "tagging-v2.infoblox.com/v1" | ||
kind: JsonSchema | ||
metadata: | ||
name: tagging-v2.pb.event | ||
name: {{ .Release.Namespace }}.pb.event | ||
spec: | ||
name: tagging-v2.pb.event | ||
name: {{ .Release.Namespace }}.pb.event | ||
schema: > | ||
{ "$schema": "http://json-schema.org/draft-04/schema#", "properties": { "type": { "enum": [ "ACCOUNT", 0, "SYSTEM", 1, "PRODUCT", 2, "USER", 3 ], "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "subtype": { "type": "string" }, "account_id": { "type": "string" }, "application_id": { "type": "string" }, "location": { "type": "string" }, "severity": { "type": "string" }, "TTL": { "properties": { "seconds": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "Signed seconds of the span of time. Must be from -315,576,000,000\n to +315,576,000,000 inclusive. Note: these bounds are computed from:\n 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years" }, "nanos": { "type": "integer", "description": "Signed fractions of a second at nanosecond resolution of the span\n of time. Durations less than one second are represented with a 0\n `seconds` field and a positive or negative `nanos` field. For durations\n of one second or more, a non-zero value for the `nanos` field must be\n of the same sign as the `seconds` field. Must be from -999,999,999\n to +999,999,999 inclusive." } }, "additionalProperties": true, "type": "object" }, "metadata": { "additionalProperties": { "type": "string" }, "type": "object" }, "occurredTime": { "type": "string", "format": "date-time" }, "generatedTime": { "type": "string", "format": "date-time" }, "id": { "type": "string" }, "status": { "enum": [ "RAISED", 0, "CLEARED", 1, "REMINDER", 2 ], "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "product_name": { "type": "string" } }, "additionalProperties": true, "type": "object"} | ||
--- | ||
apiVersion: "tagging-v2.infoblox.com/v1" | ||
kind: JsonSchema | ||
metadata: | ||
name: tagging-v2.pb.eventsubtype | ||
name: {{ .Release.Namespace }}.pb.eventsubtype | ||
spec: | ||
name: tagging-v2.pb.eventsubtype | ||
name: {{ .Release.Namespace }}.pb.eventsubtype | ||
schema: > | ||
{ "$schema": "http://json-schema.org/draft-04/schema#", "properties": { "id": { "$ref": "gorm.types.UUIDValue", "additionalProperties": true, "type": "object" }, "name": { "type": "string" }, "product_name": { "properties": { "id": { "$ref": "gorm.types.UUIDValue", "additionalProperties": true, "type": "object" }, "name": { "type": "string" }, "description": { "type": "string" }, "allowed": { "type": "boolean" } }, "additionalProperties": true, "type": "object" }, "event_type": { "properties": { "id": { "$ref": "gorm.types.UUIDValue", "additionalProperties": true, "type": "object" }, "name": { "type": "string" }, "description": { "type": "string" } }, "additionalProperties": true, "type": "object" }, "allowed": { "type": "boolean" }, "description": { "type": "string" } }, "additionalProperties": true, "type": "object", "definitions": { "gorm.types.UUIDValue": { "$schema": "http://json-schema.org/draft-04/schema#", "properties": { "value": { "type": "string" } }, "additionalProperties": true, "type": "object", "id": "gorm.types.UUIDValue" } }} | ||
--- | ||
apiVersion: "tagging-v2.infoblox.com/v1" | ||
kind: JsonSchema | ||
metadata: | ||
name: tagging-v2.pb.eventtype | ||
name: {{ .Release.Namespace }}.pb.eventtype | ||
spec: | ||
name: tagging-v2.pb.eventtype | ||
name: {{ .Release.Namespace }}.pb.eventtype | ||
schema: > | ||
{ "$schema": "http://json-schema.org/draft-04/schema#", "properties": { "id": { "properties": { "value": { "type": "string" } }, "additionalProperties": true, "type": "object" }, "name": { "type": "string" }, "description": { "type": "string" } }, "additionalProperties": true, "type": "object"} | ||
--- | ||
apiVersion: "tagging-v2.infoblox.com/v1" | ||
kind: JsonSchema | ||
metadata: | ||
name: tagging-v2.pb.productname | ||
name: {{ .Release.Namespace }}.pb.productname | ||
spec: | ||
name: tagging-v2.pb.productname | ||
name: {{ .Release.Namespace }}.pb.productname | ||
schema: > | ||
{ "$schema": "http://json-schema.org/draft-04/schema#", "properties": { "id": { "properties": { "value": { "type": "string" } }, "additionalProperties": true, "type": "object" }, "name": { "type": "string" }, "description": { "type": "string" }, "allowed": { "type": "boolean" } }, "additionalProperties": true, "type": "object"} | ||
--- | ||
apiVersion: "tagging-v2.infoblox.com/v1" | ||
kind: JsonSchema | ||
metadata: | ||
name: tagging-v2.pb.summary | ||
name: {{ .Release.Namespace }}.pb.summary | ||
spec: | ||
name: tagging-v2.pb.summary | ||
name: {{ .Release.Namespace }}.pb.summary | ||
schema: > | ||
{ "$schema": "http://json-schema.org/draft-04/schema#", "properties": { "id": { "$ref": "gorm.types.UUIDValue", "additionalProperties": true, "type": "object" }, "account_id": { "type": "string" }, "summarization_rule_id": { "$ref": "gorm.types.UUIDValue", "additionalProperties": true, "type": "object" }, "fingerprint": { "type": "string" }, "event_id": { "type": "string" }, "event_type": { "enum": [ "ACCOUNT", 0, "SYSTEM", 1, "PRODUCT", 2, "USER", 3 ], "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "event_subtype": { "type": "string" }, "event_application_id": { "type": "string" }, "event_location": { "type": "string" }, "event_severity": { "enum": [ "low", 0, "medium", 1, "high", 2 ], "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "event_TTL": { "properties": { "seconds": { "oneOf": [ { "type": "integer" }, { "type": "string" } ], "description": "Signed seconds of the span of time. Must be from -315,576,000,000\n to +315,576,000,000 inclusive. Note: these bounds are computed from:\n 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years" }, "nanos": { "type": "integer", "description": "Signed fractions of a second at nanosecond resolution of the span\n of time. Durations less than one second are represented with a 0\n `seconds` field and a positive or negative `nanos` field. For durations\n of one second or more, a non-zero value for the `nanos` field must be\n of the same sign as the `seconds` field. Must be from -999,999,999\n to +999,999,999 inclusive." } }, "additionalProperties": true, "type": "object" }, "event_metadata": { "additionalProperties": { "type": "string" }, "type": "object" }, "event_occurredTime": { "type": "string", "format": "date-time" }, "event_generatedTime": { "type": "string", "format": "date-time" }, "event_status": { "enum": [ "RAISED", 0, "CLEARED", 1 ], "oneOf": [ { "type": "string" }, { "type": "integer" } ] }, "product_name": { "type": "string" } }, "additionalProperties": true, "type": "object", "definitions": { "gorm.types.UUIDValue": { "$schema": "http://json-schema.org/draft-04/schema#", "properties": { "value": { "type": "string" } }, "additionalProperties": true, "type": "object", "id": "gorm.types.UUIDValue" } }} |
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