K8s + goHarbor OIDC configuration file

3/11/2020

I'm setting up a test environment with a Kubernetes Cluster, Keycloak and goHarbor. I set up the OIDC authentication in the goHarbor GUI with Keycloak as OIDC Endpoint and it works just fine.

Now I would like to have the authentication configurations in a file in case I want to delete the K8s deployment and deploy from new. However I've been unable to find the file where the information is being saved, even when applying a change and going through the different pod's logs to see if anything is being written.

My pods:

NAME                                            READY   STATUS    RESTARTS   AGE
testing-harbor-chartmuseum-66869699d9-2rshq     1/1     Running   0          96m
testing-harbor-clair-7f7b68456b-98vgz           1/1     Running   1          96m
testing-harbor-core-6684fd4d9f-psqps            1/1     Running   0          96m
testing-harbor-database-0                       1/1     Running   0          96m
testing-harbor-jobservice-54df8d9687-zhq6m      1/1     Running   2          96m
testing-harbor-notary-server-849768d4c4-llpvh   1/1     Running   2          96m
testing-harbor-notary-signer-78f69fb7bd-746rj   1/1     Running   2          96m
testing-harbor-portal-67c8c6bd5d-9jq2f          1/1     Running   0          96m
testing-harbor-redis-0                          1/1     Running   0          96m
testing-harbor-registry-59574bb775-4fnrj        2/2     Running   0          96m

Where am I supposed to look for it?

EDIT: The information is supposed to be saved in the PostgreSQL database but I haven't found out yet in which table they are.

-- Pulz
kubernetes

1 Answer

3/12/2020

The information is being saved in the public.properties table.

-- Pulz
Source: StackOverflow