Skip to content

Commit

Permalink
Merge pull request #89 from dell/update-actions
Browse files Browse the repository at this point in the history
Update actions
  • Loading branch information
mjsdell authored Nov 13, 2024
2 parents ffb332f + 9398f9c commit 4f1119d
Show file tree
Hide file tree
Showing 43 changed files with 486 additions and 558 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/actions.yaml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/common-workflows.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Common Workflows
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request:
branches: ["**"]

jobs:

# golang static analysis checks
go-static-analysis:
uses: dell/common-github-actions/.github/workflows/go-static-analysis.yaml@main
name: Golang Validation

common:
name: Quality Checks
uses: dell/common-github-actions/.github/workflows/go-common.yml@main
2 changes: 1 addition & 1 deletion .github/workflows/go-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Reusable workflow to perform go version update on Golang based projects
name: Go Version Update

on:
on: # yamllint disable-line rule:truthy
workflow_dispatch:
repository_dispatch:
types: [go-update-workflow]
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/linters.yaml

This file was deleted.

30 changes: 0 additions & 30 deletions .golangci.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions config/certmanager/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ metadata:
spec:
# $(SERVICE_NAME) and $(SERVICE_NAMESPACE) will be substituted by kustomize
dnsNames:
- $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc
- $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc.cluster.local
- $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc
- $(SERVICE_NAME).$(SERVICE_NAMESPACE).svc.cluster.local
issuerRef:
kind: Issuer
name: selfsigned-issuer
secretName: webhook-server-cert # this secret will not be prefixed, since it's not managed by kustomize
secretName: webhook-server-cert # this secret will not be prefixed, since it's not managed by kustomize
4 changes: 2 additions & 2 deletions config/certmanager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resources:
- certificate.yaml
- certificate.yaml

configurations:
- kustomizeconfig.yaml
- kustomizeconfig.yaml
24 changes: 12 additions & 12 deletions config/certmanager/kustomizeconfig.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# This configuration is for teaching kustomize how to update name ref and var substitution
# This configuration is for teaching kustomize how to update name ref and var substitution
nameReference:
- kind: Issuer
group: cert-manager.io
fieldSpecs:
- kind: Certificate
- kind: Issuer
group: cert-manager.io
path: spec/issuerRef/name
fieldSpecs:
- kind: Certificate
group: cert-manager.io
path: spec/issuerRef/name

varReference:
- kind: Certificate
group: cert-manager.io
path: spec/commonName
- kind: Certificate
group: cert-manager.io
path: spec/dnsNames
- kind: Certificate
group: cert-manager.io
path: spec/commonName
- kind: Certificate
group: cert-manager.io
path: spec/dnsNames
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand All @@ -14,98 +13,107 @@ spec:
listKind: DellCsiVolumeGroupSnapshotList
plural: dellcsivolumegroupsnapshots
shortNames:
- vgs
- vgs
singular: dellcsivolumegroupsnapshot
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Name of the VG
jsonPath: .status.snapshotGroupName
name: VolumeGroupname
type: string
- jsonPath: .metadata.creationTimestamp
name: CreationTime
type: date
- description: Status of the VG
jsonPath: .status.status
name: Status
type: string
name: v1
schema:
openAPIV3Schema:
description: DellCsiVolumeGroupSnapshot is the Schema for the dellcsivolumegroupsnapshots
API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: DellCsiVolumeGroupSnapshotSpec defines the desired state
of DellCsiVolumeGroupSnapshot
properties:
driverName:
description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
Important: Run "make" to regenerate code after modifying this file'
type: string
memberReclaimPolicy:
description: MemberReclaimPolicy describes a policy for end-of-life
maintenance of VGS
enum:
- Delete
- Retain
type: string
pvcLabel:
type: string
pvcList:
items:
- additionalPrinterColumns:
- description: Name of the VG
jsonPath: .status.snapshotGroupName
name: VolumeGroupname
type: string
- jsonPath: .metadata.creationTimestamp
name: CreationTime
type: date
- description: Status of the VG
jsonPath: .status.status
name: Status
type: string
name: v1
schema:
openAPIV3Schema:
description:
DellCsiVolumeGroupSnapshot is the Schema for the dellcsivolumegroupsnapshots
API
properties:
apiVersion:
description:
"APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
type: string
kind:
description:
"Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
type: string
metadata:
type: object
spec:
description:
DellCsiVolumeGroupSnapshotSpec defines the desired state
of DellCsiVolumeGroupSnapshot
properties:
driverName:
description:
'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
Important: Run "make" to regenerate code after modifying this file'
type: string
type: array
timeout:
description: A Duration represents the elapsed time between two instants
as an int64 nanosecond count. The representation limits the largest
representable duration to approximately 290 years.
format: int64
type: integer
volumesnapshotclass:
type: string
type: object
status:
description: DellCsiVolumeGroupSnapshotStatus defines the observed state
of DellCsiVolumeGroupSnapshot
properties:
contentReadyToUse:
type: boolean
creationTime:
format: date-time
type: string
readyToUse:
type: boolean
snapshotGroupID:
description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
of cluster Important: Run "make" to regenerate code after modifying
this file'
type: string
snapshotGroupName:
type: string
snapshots:
type: string
status:
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
memberReclaimPolicy:
description:
MemberReclaimPolicy describes a policy for end-of-life
maintenance of VGS
enum:
- Delete
- Retain
type: string
pvcLabel:
type: string
pvcList:
items:
type: string
type: array
timeout:
description:
A Duration represents the elapsed time between two instants
as an int64 nanosecond count. The representation limits the largest
representable duration to approximately 290 years.
format: int64
type: integer
volumesnapshotclass:
type: string
type: object
status:
description:
DellCsiVolumeGroupSnapshotStatus defines the observed state
of DellCsiVolumeGroupSnapshot
properties:
contentReadyToUse:
type: boolean
creationTime:
format: date-time
type: string
readyToUse:
type: boolean
snapshotGroupID:
description:
'INSERT ADDITIONAL STATUS FIELD - define observed state
of cluster Important: Run "make" to regenerate code after modifying
this file'
type: string
snapshotGroupName:
type: string
snapshots:
type: string
status:
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
Expand Down
Loading

0 comments on commit 4f1119d

Please sign in to comment.