crossplane-contrib/provider-sql
crossplane-contrib/provider-sql has 156 GitHub stars and 125 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-11 16:15 UTC. Last push 2026-11-05.
An SQL provider for @crossplane
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 업데이트 지연
- in 15 days
- 업데이트 지연
- in 1 month
- 업데이트 지연
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCrossplane Provider for SQL
A Crossplane provider for SQL.
A Crossplane provider for RDBMS schema management/manipulation. Note that
provider-sql orchestrates relational database servers by creating databases,
users, etc. It does not create server instances themselves. provider-sql can
be used in conjunction with other providers (e.g. provider-azure) to define a
composite resource that creates both an RDBMS server and a new database schema.
To reduce load on the managed databases and increase responsiveness with many managed resources, this provider reconciles its managed resources every 10 minutes.
It currently supports MySQL, PostgreSQL and MSSQL.
Install
Install the provider by using the following command after changing the image tag to the latest release:
cat << EOF | kubectl apply -f -
apiVersion: pkg.crossplane.io/v1
kind: Provider
metadata:
name: provider-sql
spec:
package: xpkg.upbound.io/crossplane-contrib/provider-sql:v0.9.0
EOF
Alternatively, you can use Crossplane CLI:
up ctp provider install xpkg.upbound.io/crossplane-contrib/provider-sql:v0.9.0
Check the example:
Usage
Create a connection secret:
To create provider-sql managed resources, you will first need a K8s secret with the connection details to an existing SQL server.
This secret could either be created automatically by provisioning an SQL server with a Crossplane provider (e.g. a CloudSQLInstance with provider-gcp) or you can create for an existing server as follows:
kubectl create secret generic db-conn \ --from-literal=username=admin \ --from-literal=password='t0ps3cr3t' \ --from-literal=endpoint=my.sql-server.com \ --from-literal=port=3306Create managed resources for your SQL server flavor:
- MySQL:
Database,Grant,User(See the examples) - PostgreSQL:
Database,Grant,DefaultPrivileges,Extension,Role(See the examples) - MSSQL:
Database,Grant,User(See the examples)
- MySQL:
Contributing
- Fork the project and clone locally.
- Create a branch with the changes.
- Install go version 1.18.
- Run
maketo initialize the "build". Make submodules used for CI/CD. - Run
make reviewableto run code generation, linters, and tests. - Commit, push, and PR.
Developing locally
Pre-requisite: A Kubernetes cluster with Crossplane installed
To run the provider-helm controller against your existing local cluster,
simply run:
make run
Since the controller is running outside of the local cluster, you need to make the API server accessible (on a separate terminal):
sudo kubectl proxy --port=8081
Then we must prepare a ProviderConfig for the local cluster (assuming you are
using kind for local development):
KUBECONFIG=$(kind get kubeconfig | sed -e 's|server:\s*.*$|server: http://localhost:8081|g')
kubectl -n crossplane-system create secret generic cluster-config --from-literal=kubeconfig="${KUBECONFIG}"
kubectl apply -f examples/provider-config/provider-config-with-secret.yaml
Now you can create Release resources with this ProviderConfig, for example
sample release.yaml.
kubectl create -f examples/sample/release.yaml
관련 프로젝트 살펴보기
Asabeneh/30-Days-Of-Python
30 Days of Python 프로그래밍 챌린지는 Python 프로그래밍 언어를 30일 동안 배우기 위한 단계별 가이드입니다. 이 챌린지는 100일 이상 걸릴 수 있습니다. 자신의 속도에 맞춰 진행하세요. 다음 동영상도 도움이 될 수 있습니다: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,618 스타grafana/grafana
개방적이고 조합 가능한 옵저버빌리티 및 데이터 시각화 플랫폼입니다. Prometheus, Loki, Elasticsearch, InfluxDB, Postgres 등 여러 소스의 메트릭, 로그, 트레이스를 시각화합니다.
77,859 스타redis/redis
실시간 데이터 기반 애플리케이션을 구축하는 개발자에게 Redis는 가장 선호되고, 가장 빠르며, 기능이 가장 풍부한 캐시, 데이터 구조 서버이자 문서 및 벡터 쿼리 엔진입니다.
77,472 스타apache/superset
Apache Superset는 데이터 시각화 및 데이터 탐색 플랫폼입니다.
75,495 스타