Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigMap ¶
func ConfigMap( inCluster *v1beta1.PostgresCluster, outConfigMap *corev1.ConfigMap, ) error
ConfigMap populates a ConfigMap with the configuration needed to run pgAdmin.
func Pod ¶
func Pod( inCluster *v1beta1.PostgresCluster, inConfigMap *corev1.ConfigMap, outPod *corev1.PodSpec, pgAdminVolume *corev1.PersistentVolumeClaim, )
Pod populates a PodSpec with the container and volumes needed to run pgAdmin.
func WriteUsersInPGAdmin ¶
func WriteUsersInPGAdmin( ctx context.Context, cluster *v1beta1.PostgresCluster, exec Executor, users []v1beta1.PostgresUserSpec, passwords map[string]string, ) error
WriteUsersInPGAdmin uses exec and "python" to create users in pgAdmin and update their passwords when they already exist. A blank password for a user blocks that user from logging in to pgAdmin. The pgAdmin configuration database must exist before calling this.
Types ¶
Click to show internal directories.
Click to hide internal directories.