{"id":23009587,"url":"https://github.com/devolutions/dvls-kubernetes-operator","last_synced_at":"2026-05-01T13:33:02.318Z","repository":{"id":149609339,"uuid":"594195168","full_name":"Devolutions/dvls-kubernetes-operator","owner":"Devolutions","description":"Devolutions Server Kubernetes Operator","archived":false,"fork":false,"pushed_at":"2026-03-10T19:22:05.000Z","size":175,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-03-11T01:07:36.769Z","etag":null,"topics":["automation","devops","dvls","go","kubernetes"],"latest_commit_sha":null,"homepage":"https://devolutions.net/server","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Devolutions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-27T20:30:18.000Z","updated_at":"2026-03-10T19:22:10.000Z","dependencies_parsed_at":"2024-06-21T06:54:02.619Z","dependency_job_id":"cb9e6d58-0c6c-42b4-9932-356767fcd06f","html_url":"https://github.com/Devolutions/dvls-kubernetes-operator","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Devolutions/dvls-kubernetes-operator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devolutions%2Fdvls-kubernetes-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devolutions%2Fdvls-kubernetes-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devolutions%2Fdvls-kubernetes-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devolutions%2Fdvls-kubernetes-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Devolutions","download_url":"https://codeload.github.com/Devolutions/dvls-kubernetes-operator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devolutions%2Fdvls-kubernetes-operator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32499681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","devops","dvls","go","kubernetes"],"created_at":"2024-12-15T09:15:03.487Z","updated_at":"2026-05-01T13:33:02.309Z","avatar_url":"https://github.com/Devolutions.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Operator for Devolutions Server\n:warning: **This operator is a work in progress, expect breaking changes between releases** :warning:\n\nOperator to sync Devolutions Server `Credential Entry` entries as Kubernetes Secrets\n\n## Description\nThis operator uses the defined custom resource DvlsSecret which manages its own Kubernetes Secret and will keep itself up to date at a defined interval (every minute by default).\nThe Docker image can be found [here](https://hub.docker.com/r/devolutions/dvls-kubernetes-operator).\n\n### Operator configuration\nThe following Environment Variables can be used to configure the operator :\n- `DEVO_OPERATOR_DVLS_BASEURI` (required) - DVLS instance base URI\n- `DEVO_OPERATOR_DVLS_APPID` (required) - DVLS Application ID\n- `DEVO_OPERATOR_DVLS_APPSECRET` (required) - DVLS Application Secret\n- `DEVO_OPERATOR_REQUEUE_DURATION` (optional) - Entry/Secret resync interval (default 60s). Valid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n- `SSL_CERT_FILE` (optional) - Path to a custom CA certificate file for DVLS servers with self-signed certificates. This is automatically set by the Helm chart when `instanceSecret.caCert` is provided.\n\nA sample of the custom resource can be found [here](https://github.com/Devolutions/dvls-kubernetes-operator/blob/master/config/samples/dvls_v1alpha1_dvlssecret.yaml).\nThe entry ID can be fetched by going in the entry properties, `Advanced -\u003e Session ID`.\n\n### Devolutions Server configuration\nWe recommend creating an [Application ID](https://helpserver.devolutions.net/webinterface_applications.html?q=application) specifically to be used with the Operator that has [minimal access to a vault](https://helpserver.devolutions.net/vaults_applications.html?q=application) that only contains the secrets to be synchronized.\n\nOnly `Credential Entry` entries are supported at the moment. The available entry data will depend on the `Credential Entry` type.\n\n### Kubernetes configuration\nSince this operator uses Kubernetes Secrets, it is recommended that you follow [best practices](https://kubernetes.io/docs/concepts/security/secrets-good-practices/) surrounding secrets, especially [encryption at rest](https://kubernetes.io/docs/tasks/administer-cluster/encrypt-data/).\n\n## Getting Started\nYou’ll need a Kubernetes cluster to run against. You can use [KIND](https://sigs.k8s.io/kind) to get a local cluster for testing, or run against a remote cluster.\n**Note:** Your controller will automatically use the current context in your kubeconfig file (i.e. whatever cluster `kubectl cluster-info` shows).\n\n### Helm Chart\nA Helm Chart is available to simplify installation. Add the Devolutions Helm chart repository, create a `values.yaml` from [the default values](https://github.com/Devolutions/dvls-kubernetes-operator/blob/master/chart/values.yaml) as a baseline, and update values as necessary.\n\n#### Required Configuration\nThe following values **must** be configured in your `values.yaml`:\n- `controllerManager.manager.env.devoOperatorDvlsBaseuri` - Your DVLS server URL (e.g., `https://dvls.example.com`)\n- `controllerManager.manager.env.devoOperatorDvlsAppid` - Application ID from your DVLS server\n- `instanceSecret.secret` - Application Secret from your DVLS server\n\n#### Optional Configuration\n- `instanceSecret.caCert` - Custom CA certificate for self-signed DVLS servers (see below)\n- `controllerManager.manager.env.devoOperatorRequeueDuration` - How often to sync secrets (default: `60s`)\n\n#### Basic Example Configuration\n\nCreate a `values.yaml` file with your DVLS configuration:\n\n```yaml\ncontrollerManager:\n  manager:\n    env:\n      devoOperatorDvlsAppid: \"00000000-0000-0000-0000-000000000000\"\n      devoOperatorDvlsBaseuri: \"https://dvls.example.com\"\n      devoOperatorRequeueDuration: \"60s\"\n\ninstanceSecret:\n  secret: \"your-app-secret-here\"\n```\n\n#### Installation\n```sh\nhelm repo add devolutions-helm-charts https://devolutions.github.io/helm-charts\nhelm repo update\nhelm install dvls-kubernetes-operator devolutions-helm-charts/dvls-kubernetes-operator --values values.yaml\n```\n\n#### Using a Custom CA Certificate\n\nIf your DVLS server uses a self-signed certificate (common in test/development environments), you need to provide the CA certificate so the operator can establish a trusted TLS connection.\n\n**When to use this:**\n- Testing with self-signed certificates\n- Internal CA certificates not in the system trust store\n- Development/staging environments with custom PKI\n\n**Configuration:**\n\nAdd the CA certificate content to your `values.yaml`:\n\n```yaml\ncontrollerManager:\n  manager:\n    env:\n      devoOperatorDvlsAppid: \"00000000-0000-0000-0000-000000000000\"\n      devoOperatorDvlsBaseuri: \"https://dvls.example.com\"\n      devoOperatorRequeueDuration: \"60s\"\n\ninstanceSecret:\n  secret: \"your-app-secret\"\n  # Add your CA certificate here (PEM format)\n  caCert: |\n    -----BEGIN CERTIFICATE-----\n    MIIDXTCCAkWgAwIBAgIJAKZ...\n    (your CA certificate content)\n    ...\n    -----END CERTIFICATE-----\n```\n\n### Running on the cluster\n1. Install Instances of Custom Resources:\n\n```sh\nkubectl apply -f config/samples/\n```\n\n2. Build and push your image to the location specified by `IMG`:\n\n```sh\nmake docker-build docker-push IMG=\u003csome-registry\u003e/dvls-kubernetes-operator:tag\n```\n\n3. Deploy the controller to the cluster with the image specified by `IMG`:\n\n```sh\nmake deploy IMG=\u003csome-registry\u003e/dvls-kubernetes-operator:tag\n```\n\n### Uninstall CRDs\nTo delete the CRDs from the cluster:\n\n```sh\nmake uninstall\n```\n\n### Undeploy controller\nUnDeploy the controller to the cluster:\n\n```sh\nmake undeploy\n```\n\n## Contributing\n\n### How it works\nThis project aims to follow the Kubernetes [Operator pattern](https://kubernetes.io/docs/concepts/extend-kubernetes/operator/)\n\nIt uses [Controllers](https://kubernetes.io/docs/concepts/architecture/controller/)\nwhich provides a reconcile function responsible for synchronizing resources untile the desired state is reached on the cluster\n\n### Test It Out\n1. Install the CRDs into the cluster:\n\n```sh\nmake install\n```\n\n2. Run your controller (this will run in the foreground, so switch to a new terminal if you want to leave it running):\n\n```sh\nmake run\n```\n\n**NOTE:** You can also run this in one step by running: `make install run`\n\n### Modifying the API definitions\nIf you are editing the API definitions, generate the manifests such as CRs or CRDs using:\n\n```sh\nmake manifests\n```\n\n**NOTE:** Run `make --help` for more information on all potential `make` targets\n\nMore information can be found via the [Kubebuilder Documentation](https://book.kubebuilder.io/introduction.html)\n\n## License\n\nCopyright 2023.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevolutions%2Fdvls-kubernetes-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevolutions%2Fdvls-kubernetes-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevolutions%2Fdvls-kubernetes-operator/lists"}