clustersecret
by patrungel
ClusterSecret Operator provides inter-namespace (or cluster-wide) secrets
About this chart
clustersecret
A Helm Chart for ClusterSecret
ClusterSecret Operator provides inter-namespace (or cluster-wide) secrets
Homepage: https://github.com/patrungel/clustersecret-helm
Introduction
This chart introduces ClusterSecret custom resource, creates a deployment to run the ClusterSecret operator and optionally creates a number of ClusterSecret-s.
Maintainers
| Name | Url | |
|---|---|---|
| patrungel | [email protected] |
Source Code
Requirements
Kubernetes: >= 1.16.0-0
Required Configuration
No configuration is required, the defaults are sufficient to run the operator. It is however recommended to specify resources matching your cluster.
Specifying environment
Using command line:
helm -f values.yaml install --name test patrungel/clustersecret
Values
| Key | Type | Default | Description |
|---|---|---|---|
| affinity | object | {} | affinity spec for clustersecret deployment |
| clusterSecrets | list | [] | Optional clustersecret entities to be managed as part of release For a given clustersecret name and data are the only required fields For details refer to https://github.com/zakkg3/ClusterSecret/tree/master/yaml/Object_example Example: clusterSecrets: - name: global-regcred labels: owner: ops annotations: rotate: never matchNamespace: - workers - ".-dev" avoidNamespaces: - default - kube-system type: "kubernetes.io/dockerconfigjson" data: .dockerconfigjson: ZHVtbXk= - name: db-creds matchNamespace: - ".-dev" data: user: ZHVtbXk= password: ZHVtbXk= |
| extraArgs | list | [] | Additional clustersecret container arguments Example: extraArgs: - --verbose |
| extraVars | object | {} | Optional environment variables as key-value pairs Example: extraVars: LANG: en_US.utf8 |
| fullnameOverride | string | "" | Set to override the release name |
| image.pullPolicy | string | "IfNotPresent" | Image pullPolicy to use |
| image.repository | string | "flag5/clustersecret" | Image repository to use |
| image.tag | string | nil | Image tag to use (defaults to appVersion of the chart) |
| nameOverride | string | "" | Set to override the chart name part of the release name |
| nodeSelector | object | {} | nodeSelector spec for clustersecret deployment |
| podAnnotations | object | {} | Annotations for clustersecret deployment |
| podExtraLabels | object | {} | Additional labels for clustersecret deployment |
| priorityClassName | string | "" | priorityClassName for clustersecret deployment |
| rbac.create | bool | true | If true create and use RBAC resources |
| replicaCount | int | 1 | Number of pod replicas in clustersecret deployment |
| resources | object | {} | Pod resources for clustersecret deployment Example: resources: limits: cpu: 50m memory: 200Mi requests: cpu: 50m memory: 200Mi |
| securityContext | object | {} | Pod security context for clustersecret deployment Example: securityContext: runAsUser: 1000 |
| serviceAccount.annotations | object | {} | Service account annotations. Ignored if serviceAccount.create is false. |
| serviceAccount.create | bool | true | If true create a ServiceAccount |
| serviceAccount.imagePullSecretNames | list | [] | List of imagePullSecret names to use with the service account. Ignored if serviceAccount.create is false. |
| serviceAccount.name | string | "" | The name of the ServiceAccount to use. If not set and create is true, a name is generated using the fullname template. |
| strategy | object | {"type":"Recreate"} | strategy spec for clustersecret deployment |
| tolerations | list | [] | tolerations spec for clustersecret deployment |
Please refer to values.yaml for detailed examples.
Deploy clustersecret with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has clustersecret on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartclustersecret is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply