{"id":21526456,"url":"https://github.com/netapp/astra-connector-operator","last_synced_at":"2025-04-09T23:33:41.669Z","repository":{"id":40362652,"uuid":"448059270","full_name":"NetApp/astra-connector-operator","owner":"NetApp","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-22T22:00:03.000Z","size":13140,"stargazers_count":2,"open_issues_count":15,"forks_count":3,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-05-22T22:17:26.042Z","etag":null,"topics":["netapp-public"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NetApp.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-14T17:53:14.000Z","updated_at":"2024-07-09T21:21:22.698Z","dependencies_parsed_at":"2023-07-12T23:48:31.367Z","dependency_job_id":"cc01c96a-6884-495f-8b8f-b5b690ef6f56","html_url":"https://github.com/NetApp/astra-connector-operator","commit_stats":null,"previous_names":["netapp/astraagent-operator"],"tags_count":693,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetApp%2Fastra-connector-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetApp%2Fastra-connector-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetApp%2Fastra-connector-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetApp%2Fastra-connector-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NetApp","download_url":"https://codeload.github.com/NetApp/astra-connector-operator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226116488,"owners_count":17575929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["netapp-public"],"created_at":"2024-11-24T01:45:12.288Z","updated_at":"2024-11-24T01:45:12.800Z","avatar_url":"https://github.com/NetApp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## This branch is currently being used for integration work. If you want to use the released build, please visit [this branch](https://github.com/NetApp/astra-connector-operator/tree/release-23-07) and follow the documentation there instead.\n\n## Install the Astra Connector\n\nThis guide provides instructions for installing the latest version of the Astra Connector on your private cluster. If you need to install a specific release, refer to the appropriate release bundle. If you are using a bastion host, execute these commands from the command line of the bastion host.\n\n### Steps\n\n1. Apply the Astra Connector operator. When you run this command, the correct namespace for the Astra Connector is created and the configuration is applied to the namespace:\n\n    ```bash\n    kubectl apply -f https://github.com/NetApp/astra-connector-operator/releases/latest/download/astraconnector_operator.yaml\n    ```\n\n2. Verify that the operator is installed and ready:\n\n    ```bash\n    kubectl get all -n astra-connector-operator\n    ```\n\n3. Generate an Astra Control API token using the instructions in the [Astra Automation documentation](https://docs.netapp.com/us-en/astra-automation/get-started/get_api_token.html).\n\n4. Create a secret using the token. Replace `\u003cAPI_TOKEN\u003e` with the token you received from Astra Control:\n\n    ```bash\n    kubectl create secret generic astra-token \\\n    --from-literal=apiToken=\u003cAPI_TOKEN\u003e \\\n    -n astra-connector\n    ```\n\n5. Create a Docker secret to use to pull the Astra Connector image. Replace values in brackets \u003c\u003e with information from your environment:\n\n    ```bash\n    kubectl create secret docker-registry regcred \\\n    --docker-username=\u003cASTRA_ACCOUNT_ID\u003e \\\n    --docker-password=\u003cAPI_TOKEN\u003e \\\n    -n astra-connector \\\n    --docker-server=cr.astra.netapp.io\n    ```\n\n6. Create the Astra Connector CR file and name it `astra-connector-cr.yaml`. Update the values in brackets \u003c\u003e to match your Astra Control environment and cluster configuration:\n\n    ```yaml\n    apiVersion: astra.netapp.io/v1\n    kind: AstraConnector\n    metadata:\n      name: astra-connector\n      namespace: astra-connector\n    spec:\n      astra:\n        accountId: \u003cASTRA_ACCOUNT_ID\u003e\n        clusterName: \u003cCLUSTER_NAME\u003e\n        skipTLSValidation: false  # Should be set to false in production environments\n        tokenRef: astra-token\n      natsSyncClient:\n        cloudBridgeURL: \u003cASTRA_CONTROL_HOST_URL\u003e\n        hostAliasIP: \u003cASTRA_HOST_ALIAS_IP_ADDRESS\u003e\n      imageRegistry:\n        name: cr.astra.netapp.io/astra\n        secret: regcred\n    ```\n\n7. Apply the `astra-connector-cr.yaml` file after you populate it with the correct values:\n\n    ```bash\n    kubectl apply -n astra-connector -f astra-connector-cr.yaml\n    ```\n\n8. Verify that the Astra Connector is fully deployed:\n\n    ```bash\n    kubectl get all -n astra-connector\n    ```\n\n9. Verify that the cluster is registered with Astra Control:\n\n    ```bash\n    kubectl get astraconnectors.astra.netapp.io -A\n    ```\n\n   You should see output similar to the following:\n\n    ```\n    NAMESPACE         NAME              REGISTERED   ASTRACONNECTORID                       STATUS\n    astra-connector   astra-connector   true         00a821c8-2cef-41ac-8777-ed05a417883e   Registered with Astra\n    ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetapp%2Fastra-connector-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetapp%2Fastra-connector-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetapp%2Fastra-connector-operator/lists"}