GoogleCloudPlatform / GoogleCloudPlatform/pubsec-declarative-toolkit

The gatekeeper solution deployment by kpt won't start

Open
#761 10 comments 0 reactions 0 assignees View on GitHub
bug documentation Landing Zone
Dominant language
Shell
Stars
36
Forks
26
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When deploy the gatekeeper solution given below via kpt by following the below guide, the deployment won't start and got some errors about CRDs required are uninstalled.

https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/tree/main/docs/landing-zone-v2

**To Reproduce**

Step1: Install and configure kcc config controller by the above given guide.
Step2: Follow the below command to download and deploy the gatekeeper solution.
```
URL="https://raw.githubusercontent.com/GoogleCloudPlatform/pubsec-declarative-toolkit/main/.release-please-manifest.json"
PACKAGE="solutions/gatekeeper-policies"
VERSION=$(curl -s $URL | jq -r ".\"$PACKAGE\"")
kpt pkg get https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit.git/${PACKAGE}@${VERSION}
kpt live init gatekeeper-policies --namespace config-control
kpt fn render gatekeeper-policies
kpt live apply gatekeeper-policies --reconcile-timeout=2m --output=table
```
Step3: Found the gatekeeper solution deployment won't start due to missing CRDs as shown below.
Screenshot 2023-11-30 at 10 46 11 PM

**Expected behavior**
A reliable solution and guide must be given so that we can install gatekeeper solution without any errors.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.