You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've found OperatorHub.io to be quite useful for having a "package manager" for operators, without going down the whole Helm path. I had a shot at generating a definition for what this would look like on the site, but didn't want to publish it if I wasn't the owner!
apiVersion: operators.coreos.com/v1alpha1kind: ClusterServiceVersionmetadata:
name: secret-generator.v2.1.1namespace: placeholderannotations:
alm-examples: '[]'categories: 'Security, Developer Tools'certified: 'false'createdAt: ''description: >- A controller that can automatically create random secret values. This may be used for auto-generating random credentials for applications run on Kubernetes.containerImage: ''support: ''capabilities: Basic Installrepository: ''spec:
displayName: Secret Generatordescription: >+ This operator generates random secret values, such as passwords. It also provides functionality to regenerate these values easily. ## Operator Usage Add the annotation `secret-generator.v1.mittwald.de/autogenerate` to any Kubernetes secret object. The value of the annotation can be a field name (or comma separated list of field names) within the secret; the SecretGeneratorController will pick up this annotation and add a field \[or fields] (password in the example below) to the secret with a randomly generated string value. ``` apiVersion: v1 kind: Secret metadata: annotations: secret-generator.v1.mittwald.de/autogenerate: password data: username: c29tZXVzZXI= ``` Operational tasks: * Regenerate all automatically generator passwords: `$ kubectl annotate secrets --all secret-generator.v1.mittwald.de/regenerate=true` * Regenerate only certain fields: `$ kubectl annotate secrets --all secret-generator.v1.mittwald.de/regenerate=password1,password2`maturity: stableversion: 2.1.1replaces: ''minKubeVersion: ''keywords:
- secretsmaintainers:
- name: ''email: ''provider:
name: Mittwald CM Servicelabels: {}selector:
matchLabels: {}links:
- name: Repourl: 'https://github.com/mittwald/kubernetes-secret-generator'icon:
- base64data: ''mediatype: ''customresourcedefinitions:
owned: []required: []install:
strategy: deploymentspec:
permissions: []clusterPermissions:
- serviceAccountName: secret-generatorrules:
- apiGroups: '""'resources:
- secretsverbs:
- get
- watch
- list
- updatedeployments:
- name: secret-generator-deploymentspec:
replicas: 1selector:
matchLabels:
app: secret-generatortemplate:
metadata:
labels:
app: secret-generatorspec:
serviceAccountName: secret-generatorcontainers:
- name: secret-generatorimage: 'quay.io/mittwald/kubernetes-secret-generator:latest'command:
- /kubernetes-secret-generatorargs:
- '-logtostderr'
- '-all-namespaces'
- '-regenerate-insecure'installModes:
- type: OwnNamespacesupported: false
- type: SingleNamespacesupported: false
- type: MultiNamespacesupported: false
- type: AllNamespacessupported: true
The text was updated successfully, but these errors were encountered:
There has not been any activity to this issue in the last 30 days. It will automatically be closed after 7 more days. Remove the stale label to prevent this.
I've found OperatorHub.io to be quite useful for having a "package manager" for operators, without going down the whole Helm path. I had a shot at generating a definition for what this would look like on the site, but didn't want to publish it if I wasn't the owner!
secret-generator.package.yaml
secret-generator.v2.1.1.clusterserviceversion.yaml
The text was updated successfully, but these errors were encountered: