Code Monkey home page Code Monkey logo

csp-config-management's Introduction

Notice: The csp-config-management repo has been deprecated in favor of the anthos-config-management-samples repo. Please contribute all sample updates, including ConfigManagement CRD updates, directly to the new Github repo.

Anthos Config Management

This repository contains example repos for Anthos Config Management.

To use these examples, install the Anthos Config Management operator on your Kubernetes cluster and create a custom resource that points at one of the included examples by setting the policyDir field to the directory of the desired example (e.g. foo-corp).

For a more complete experience, you can fork this repository, which will allow you to make changes and experiment by adding configurations of your own to the examples contained here. When forking the repository, you will need to change your cluster configuration to point to the URL of your forked repository.

For more information on Anthos Config Management, please reference the Google Cloud Platform documentation.

Examples

A single cluster example showing several features of Anthos Config Management working together

A simple example to generalize how to define and enforce configuration

Configure policy to apply only to resources in specific regions

Create a CloudBuild CI pipeline on a config directory

Create a CloudBuild CI pipeline on an unstructured directory

Validate your application against company policies

CRDs

The ConfigManagement CRD is used to install Anthos Config Management

csp-config-management's People

Contributors

briantkennedy avatar frankfarzan avatar jrmurray000 avatar prachirp avatar sandyjensen avatar sbochins-k8s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

csp-config-management's Issues

Remove HierarchyConfig and virtual resource quota?

I think these two files are artifacts of Aggregated Resource Quota which is no longer in Anthos Config Managment and should be deleted. I don't see any corresponding resources in my cluster that represent these objects so I think they are ignored and will just confuse readers who seek to understand this example.

csp-config-management/foo-corp/namespaces/online/shipping-app-backend/quota.yaml
csp-config-management/foo-corp/system/resourcequota-hierarchy.yaml

Also renaming this repository to anthos-config-management will improve search-ability and brand compliance.
thanks

Deploying resources dependent upon CRDs fails

How would you deploy for example prometheus operator with config sync Manual guide
The problem is that the CRD is created by the operator and not resolvable by config sync during the initial sync when trying to deploy from a repository containing prometheus objects config sync will complain with the following error:

[1] KNV1021: No CustomResourceDefinition is defined for the type "Prometheus.monitoring.coreos.com" in the cluster.
Resource types that are not native Kubernetes objects must have a CustomResourceDefinition.

source: namespaces/monitoring/monitoring-namespaced-resources.yaml
namespace: monitoring
metadata.name: acm
group: monitoring.coreos.com
version: v1
kind: Prometheus

The same is also true when trying to deploy gatekeeper with gatekeeper policies in the same repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.