Skip to content

Outdated golang code samples for Memorystore for Redis #5435

@craig08

Description

@craig08

In which file did you encounter the issue?

  • memorystore/redis/gke_deployment/Dockerfile
  • memorystore/redis/gke_deployment/visit-counter.yaml
  • memorystore/redis/main.go

Did you change the file? If so, how?

No

Describe the issue

We are seeing errors when following the instruction.

The Deployment "visit-counter" is invalid:
* spec.selector: Required value
* spec.template.metadata.labels: Invalid value: map[string]string{"app":"visit-counter"}: `selector` does not match template `labels`

The outdated configurations need to be updated for the examples to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.samplesIssues that are directly related to samples.triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions