Skip to content

Commit

Permalink
Merge 6532243 into ad3d4bf
Browse files Browse the repository at this point in the history
  • Loading branch information
dviejokfs authored Feb 15, 2022
2 parents ad3d4bf + 6532243 commit 5ae0b3c
Show file tree
Hide file tree
Showing 8 changed files with 355 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Release Charts
name: Release HLF Operator Chart

on:
push:
branches:
- main
- "*"
pull_request:

jobs:
release:
Expand Down
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Helm charts for Hyperledger Fabric

Add the helm repository to your helm client:
```bash
helm repo add kfs https://kfsoftware.github.io/hlf-helm-charts --force-update
```

Default values can be found in [charts/hlf-operator/values.yaml](values.yaml)


### Installing hlf-operator

With default values:
```bash
helm install hlf-operator --version=1.5.0 kfs/hlf-operator
```

With custom values:
```bash
helm install hlf-operator -f values.yaml --version=1.5.0 kfs/hlf-operator
```
2 changes: 1 addition & 1 deletion chart/hlf-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.4.0
version: 1.5.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
creationTimestamp: null
name: fabricexplorers.hlf.kungfusoftware.es
spec:
group: hlf.kungfusoftware.es
names:
kind: FabricExplorer
listKind: FabricExplorerList
plural: fabricexplorers
shortNames:
- explorer
singular: explorer
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.status
name: State
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
description: FabricExplorer is the Schema for the hlfs API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: FabricExplorerSpec defines the desired state of FabricExplorer
properties:
resources:
description: ResourceRequirements describes the compute resource requirements.
properties:
limits:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Limits describes the maximum amount of compute resources
allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
type: object
requests:
additionalProperties:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
description: 'Requests describes the minimum amount of compute
resources required. If Requests is omitted for a container,
it defaults to Limits if that is explicitly specified, otherwise
to an implementation-defined value. More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/'
type: object
type: object
required:
- resources
type: object
status:
description: FabricExplorerStatus defines the observed state of FabricExplorer
properties:
conditions:
description: Conditions is a set of Condition instances.
items:
description: "Condition represents an observation of an object's
state. Conditions are an extension mechanism intended to be used
when the details of an observation are not a priori known or would
not apply to all instances of a given Kind. \n Conditions should
be added to explicitly convey properties that users and components
care about rather than requiring those properties to be inferred
from other observations. Once defined, the meaning of a Condition
can not be changed arbitrarily - it becomes part of the API, and
has the same backwards- and forwards-compatibility concerns of
any other part of the API."
properties:
lastTransitionTime:
format: date-time
type: string
message:
type: string
reason:
description: ConditionReason is intended to be a one-word, CamelCase
representation of the category of cause of the current status.
It is intended to be used in concise output, such as one-line
kubectl get output, and in summarizing occurrences of causes.
type: string
status:
type: string
type:
description: "ConditionType is the type of the condition and
is typically a CamelCased word or short phrase. \n Condition
types should indicate state in the \"abnormal-true\" polarity.
For example, if the condition indicates when a policy is invalid,
the \"is valid\" case is probably the norm, so the condition
should be called \"Invalid\"."
type: string
required:
- status
- type
type: object
type: array
message:
type: string
status:
description: Status of the FabricCA
type: string
required:
- conditions
- message
- status
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
creationTimestamp: null
name: fabricnetworkconfigs.hlf.kungfusoftware.es
spec:
group: hlf.kungfusoftware.es
names:
kind: FabricNetworkConfig
listKind: FabricNetworkConfigList
plural: fabricnetworkconfigs
shortNames:
- networkconfig
singular: networkconfig
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.status
name: State
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
description: FabricNetworkConfig is the Schema for the hlfs API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: FabricNetworkConfigSpec defines the desired state of FabricNetworkConfig
properties:
internal:
type: boolean
organization:
type: string
organizations:
items:
type: string
type: array
secretName:
type: string
required:
- internal
- organization
- organizations
- secretName
type: object
status:
description: FabricNetworkConfigStatus defines the observed state of FabricNetworkConfig
properties:
conditions:
description: Conditions is a set of Condition instances.
items:
description: "Condition represents an observation of an object's
state. Conditions are an extension mechanism intended to be used
when the details of an observation are not a priori known or would
not apply to all instances of a given Kind. \n Conditions should
be added to explicitly convey properties that users and components
care about rather than requiring those properties to be inferred
from other observations. Once defined, the meaning of a Condition
can not be changed arbitrarily - it becomes part of the API, and
has the same backwards- and forwards-compatibility concerns of
any other part of the API."
properties:
lastTransitionTime:
format: date-time
type: string
message:
type: string
reason:
description: ConditionReason is intended to be a one-word, CamelCase
representation of the category of cause of the current status.
It is intended to be used in concise output, such as one-line
kubectl get output, and in summarizing occurrences of causes.
type: string
status:
type: string
type:
description: "ConditionType is the type of the condition and
is typically a CamelCased word or short phrase. \n Condition
types should indicate state in the \"abnormal-true\" polarity.
For example, if the condition indicates when a policy is invalid,
the \"is valid\" case is probably the norm, so the condition
should be called \"Invalid\"."
type: string
required:
- status
- type
type: object
type: array
message:
type: string
status:
description: Status of the FabricNetworkConfig
type: string
required:
- conditions
- message
- status
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,26 @@ spec:
- host
- port
type: object
image:
default: couchdb
type: string
password:
type: string
pullPolicy:
default: IfNotPresent
description: PullPolicy describes a policy for if/when to pull
a container image
type: string
tag:
default: 3.1.1
type: string
user:
type: string
required:
- image
- password
- pullPolicy
- tag
- user
type: object
discovery:
Expand Down Expand Up @@ -127,6 +141,25 @@ spec:
type: array
externalEndpoint:
type: string
fsServer:
nullable: true
properties:
image:
default: quay.io/kfsoftware/fs-peer
type: string
pullPolicy:
default: IfNotPresent
description: PullPolicy describes a policy for if/when to pull
a container image
type: string
tag:
default: amd64-2.2.0
type: string
required:
- image
- pullPolicy
- tag
type: object
gossip:
properties:
bootstrap:
Expand Down
Loading

0 comments on commit 5ae0b3c

Please sign in to comment.