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

Corrected missing spec: in NamespaceConfig example #71

Merged
merged 1 commit into from
Sep 14, 2020
Merged

Corrected missing spec: in NamespaceConfig example #71

merged 1 commit into from
Sep 14, 2020

Conversation

cgruver
Copy link
Contributor

@cgruver cgruver commented Sep 14, 2020

The example NamespaceConfig in the README.md file is missing spec: in the yaml.

apiVersion: redhatcop.redhat.io/v1alpha1
kind: NamespaceConfig
metadata:
  name: small-namespace
  labelSelector:
    matchLabels:
      size: small  
  templates:
  - objectTemplate: |
      apiVersion: v1
      kind: ResourceQuota
      metadata:
        name: small-size
        namespace: {{ .Name }}
      spec:
        hard:
          requests.cpu: "4"
          requests.memory: "2Gi"

@raffaelespazzoli raffaelespazzoli merged commit e333556 into redhat-cop:master Sep 14, 2020
@raffaelespazzoli
Copy link
Collaborator

@cgruver thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants