-
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.
chore: improve metrics controller and controller start procedure (#4)
- Loading branch information
1 parent
45c8bcb
commit c0cb210
Showing
4 changed files
with
95 additions
and
11 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 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,67 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: ogmiosports.demeter.run | ||
spec: | ||
group: demeter.run | ||
names: | ||
categories: [] | ||
kind: OgmiosPort | ||
plural: ogmiosports | ||
shortNames: [] | ||
singular: ogmiosport | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .spec.network | ||
name: Network | ||
type: string | ||
- jsonPath: .spec.version | ||
name: Version | ||
type: number | ||
- jsonPath: .status.endpointUrl | ||
name: Endpoint URL | ||
type: string | ||
- jsonPath: .status.authToken | ||
name: Auth Token | ||
type: string | ||
name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: Auto-generated derived type for OgmiosPortSpec via `CustomResource` | ||
properties: | ||
spec: | ||
properties: | ||
network: | ||
enum: | ||
- mainnet | ||
- preprod | ||
- preview | ||
- sanchonet | ||
type: string | ||
version: | ||
format: uint8 | ||
minimum: 0.0 | ||
type: integer | ||
required: | ||
- network | ||
- version | ||
type: object | ||
status: | ||
nullable: true | ||
properties: | ||
authToken: | ||
nullable: true | ||
type: string | ||
endpointUrl: | ||
nullable: true | ||
type: string | ||
type: object | ||
required: | ||
- spec | ||
title: OgmiosPort | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
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,14 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: prj-mainnet-test | ||
--- | ||
apiVersion: demeter.run/v1alpha1 | ||
kind: OgmiosPort | ||
metadata: | ||
name: mainnet-user | ||
namespace: prj-mainnet-test | ||
spec: | ||
network: "mainnet" | ||
version: 1 | ||
|