Documentation ¶
Index ¶
- Constants
- func GetK8SStatefulSet(ctx context.Context, p *v1alpha1.PatroniPostgres) (sts *appsv1.StatefulSet, err error)
- func Reconcile(ctx context.Context, p *v1alpha1.PatroniPostgres) (err error)
- func ReconcileSts(ctx context.Context, p *v1alpha1.PatroniPostgres, patches ...Patch) (sts *appsv1.StatefulSet, err error)
- type Patch
Constants ¶
View Source
const ( Image = "ghcr.io/rkojedzinszky/postgres-patroni:20240909" PatroniSuperuserUsername = "postgres" DataVolumeMountPath = "/var/lib/postgresql" )
Variables ¶
This section is empty.
Functions ¶
func GetK8SStatefulSet ¶
func GetK8SStatefulSet(ctx context.Context, p *v1alpha1.PatroniPostgres) (sts *appsv1.StatefulSet, err error)
func ReconcileSts ¶
func ReconcileSts(ctx context.Context, p *v1alpha1.PatroniPostgres, patches ...Patch) (sts *appsv1.StatefulSet, err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.