GetPostgresUID returns the UID that is being used for the "postgres" user
()
| 1056 | // GetPostgresUID returns the UID that is being used for the "postgres" |
| 1057 | // user |
| 1058 | func (cluster Cluster) GetPostgresUID() int64 { |
| 1059 | if cluster.Spec.PostgresUID == 0 { |
| 1060 | return DefaultPostgresUID |
| 1061 | } |
| 1062 | return cluster.Spec.PostgresUID |
| 1063 | } |
| 1064 | |
| 1065 | // GetPostgresGID returns the GID that is being used for the "postgres" |
| 1066 | // user |
no outgoing calls