Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOSTSD-305 Configure PROD #114

Merged
merged 1 commit into from
Mar 13, 2024
Merged

HOSTSD-305 Configure PROD #114

merged 1 commit into from
Mar 13, 2024

Conversation

Fosol
Copy link
Contributor

@Fosol Fosol commented Mar 13, 2024

Configuration and setup of PROD.

@Fosol Fosol added the enhancement New feature or request label Mar 13, 2024
@Fosol Fosol self-assigned this Mar 13, 2024
@@ -47,6 +47,8 @@ spec:
- to:
- ipBlock:
cidr: 10.99.8.2/32
- ipBlock:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add production database ip

@@ -3,5 +3,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
# - statefulset.yaml
- statefulset.yaml
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need database pod to use psql

@@ -0,0 +1,149 @@
kind: Job
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Provides an easy way to run the Data Service adhoc. However, you have to manually delete the Job afterwards because Kustomize doesn't support generateName.

@@ -79,13 +77,6 @@ export const AuthState: React.FC<IAuthState> = ({ showName }) => {
} else {
setUserinfo(userinfo);
}
setAdminUsers(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed as it was causing issues. Not certain why. But we don't need it now that we don't care about optimistic concurrency when editing users.

@Fosol Fosol merged commit f11670c into bcgov:main Mar 13, 2024
2 checks passed
@Fosol Fosol deleted the 305 branch March 13, 2024 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant