Changeset - 7d0e02a13b43
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 16 months ago 2023-06-20 05:21:18
drewp@bigasterisk.com
turn off postgres for testing
1 file changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
make_global.py
Show inline comments
 
@@ -32,43 +32,43 @@ def retryGetSuffixedName() -> str:
 
config = {
 
    'apiVersion': "ingress.pomerium.io/v1",
 
    'kind': "Pomerium",
 
    'metadata': {
 
        'name': "global"
 
    },
 
    'spec': {
 
        'secrets': "pomerium/bootstrap",
 
        'authenticate': {
 
            'url': "https://authenticate.bigasterisk.com"
 
        },
 
        'cookie': {
 
            'expire': "20h"
 
        },
 
        'identityProvider': {
 
            'provider': "oidc",
 
            'url': "https://accounts.google.com",
 
            'scopes': [
 
                "openid",
 
                "email",
 
                "profile"  # adds name+locale to user details
 
            ],
 
            'secret': "pomerium/idp"
 
        },
 
        'storage': {
 
            'postgres': {
 
                'secret': "pomerium/postgres-connection-key"
 
            }
 
        },
 
#        'storage': {
 
#            'postgres': {
 
#                'secret': "pomerium/postgres-connection-key"
 
#            }
 
#        },
 
    }
 
}
 

	
 
# Old note: pom won't start up if this cert doesn't exist, so you have to run once
 
# with it commented out, then after cert success, run again with it enabled.
 

	
 
config['spec']['certificates'] = [
 
    # retryGetSuffixedName() # it appear this is a temporary cert and we should set the line below then wait a few minutes
 
    'pomerium/pomerium-proxy-tls'
 
]
 

	
 
sys.stderr.write('\n')
 

	
 
print(json.dumps(config))
0 comments (0 inline, 0 general)